Hugo currently (v133) provides no way for me to choose where to place my footnotes - the excuse is that hugo does not know what goldmark (it renders the markdown file?) does so whenever I’ve had to manually enclose the footnotes with <details> in the generated html file.

That is no more! I’m sick of doing it and I don’t know how I just realised that I can just use HTML tags in markdown itself… I’ve literally done that dozens of times already…

The end result looks like this by default:

diff --git a/public/sitemap.xml b/public/sitemap.xml index 06de0fe0..002b9087 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,10 +3,10 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://vodoraslo.xyz/articles/blog/neater-footnotes-in-hugo-using-the-details-html-tag/ - 2024-08-31T16:38:01+03:00 + 2024-08-31T17:06:20+03:00 https://vodoraslo.xyz/tags/ - 2024-08-31T16:38:01+03:00 + 2024-08-31T17:06:20+03:00 https://vodoraslo.xyz/articles/blog/hugo-drafts-showing-in-production/ 2024-08-31T16:38:01+03:00