Install Foresite on Jekyll
Jekyll builds every page's <head> from an include, usually _includes/head.html:
- If your site has its own
_includes/head.html, paste your Foresite line just before</head>. - If the head comes from a theme gem such as Minima, copy the theme's
_includes/head.htmlinto your site's_includesfolder first, then add the line. Runbundle info --path minima(with your theme's name) to find the theme's files. Jekyll uses your copy instead of the theme's. Some themes have an empty_includes/custom-head.htmlfor exactly this; if yours does, put the line there instead. - Rebuild and deploy. This works on GitHub Pages too.
Visits to localhost aren't counted, so jekyll serve won't add test traffic. After you deploy, the Installation Check in Settings → Install turns green with the first pageview.