This will add a commit to your repo with everything ready to go. You’ll probably want to modify parts of this theme for your own usage! Subtree makes that easy, because you’ve just copied the code into your repo ✨
This is off by default because it peppers your build output with .droplist files, and if you’re not expecting them, it’s going to be an unpleasant surprise.
Visual differentiation for drafts
This one’s on, and can’t be switched off. Drafts have an orange stripey background everywhere. You can’t miss them.
Footnotes turn into margin notes
This is on by default.
You can switch it off site-wide by adding disableMarginNotes = true to your params in your config.toml, i.e.
disableMarginNotes = true
Alternatively, you can turn it off per-page by adding the disableMarginNotes = true to your front-matter for the page.
Testing against the example site
You can build the example site with this theme with:
hugo serve --themesDir=../..
Hacking / Modifying the JS
Note that this is only available since Hugo 0.74.0; if you’re stuck on an old version of Hugo, try grabbing this theme at commit dfcf8b8e802e500e883c4f291b34d65d2e65a7bf instead, which uses a different bundling mechanism.
Note that dependencies are checked into version control, so unless you’re adding new ones / upgrading existing packages you should be fine.