Hugo on GitHub Pages with GitHub Actions
The modern alternative for deploying non-jekyll pages to GitHub Pages
The modern alternative for deploying non-jekyll pages to GitHub Pages
I've been unable to find concrete instructions for this, but my ecosia-fu might be off today. In either case, this is how you set up footnotes for Hugo:
Hugo footnotes aren't actually part of Hugo, but are a feature from, at least, goldmark. Enabling it is surprisingly trivial1:
markup:
goldmark:
extensions:
footnote: true
renderer:
# Not entirely clear on whether this is required or not, but feel free to play around with it
unsafe: true
footnoteAnchorPrefix: ""
footnoteReturnLinkContents: "^"
And for a bit of recursion, the source code for this file:
Deploying Hugo isn't nearly as trivial as Jekyll, but it's absolutely doable.