Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footnote backlinks are not working #328

Closed
stalkerGH opened this issue Jun 13, 2024 · 3 comments
Closed

Footnote backlinks are not working #328

stalkerGH opened this issue Jun 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@stalkerGH
Copy link

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?

@stalkerGH stalkerGH added the bug Something isn't working label Jun 13, 2024
@welpo
Copy link
Owner

welpo commented Jun 13, 2024

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.

@stalkerGH
Copy link
Author

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!

@stalkerGH
Copy link
Author

My problem is now solved so I close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants