welpo / tabi

A modern Zola theme with search, multilingual support, optional JavaScript, a perfect Lighthouse score, and a focus on accessibility.

Home Page:https://welpo.github.io/tabi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Footnote backlinks are not working

stalkerGH opened this issue · comments

I set footnote_backlinks = true in config.toml. I use lot of footnote backlinks in my content, they seem to be active (green numbers in my mint theme) but clicking on them doesn't scroll the page to footnotes. How to debug that?

footnote_backlinks only adds links FROM the footnotes TO the text. The links from text to footnotes are handled by Zola.

I would guess the problem is related to the Markdown. Do your footnotes look like this?

Some text[^1].

---

[^1]: Description of the footnote.

The triple dash is not necessary, but the [^n]: format (including the :) is.

Thank you for reply. I understand phrase backlink now :)

My footnotes look like in your example: [^1] in text and almost the same in description. Almost... because lack of colon :) I added the colons and everything is working as expected - I go to footnote and I see small arrow at end of line.

Thanks for help!

My problem is now solved so I close the issue.