just a jot

A semi-whenever series of posts

A method of loading scripts per page in Hugo

2016-09-05 development

Sometimes you find the need to make a specific page interactive with a bit of custom Javascript. This post explains how to do just that using the Hugo static site generator. Instead of loading the script globally for every page on the site, load it for that page and that page alone.

Continue reading