feat: add backlinks to footnotes (#101)

This commit is contained in:
Óscar
2023-08-02 18:35:27 +02:00
committed by GitHub
parent a1ceb74785
commit 5cdc18e688
12 changed files with 80 additions and 14 deletions

View File

@@ -33,6 +33,11 @@
{%- if config.extra.copy_button and config.extra.copy_button == true -%}
<script defer src="{{ get_url(path='js/copyCodeToClipboard.min.js', trailing_slash=false) | safe }}"/></script>
{%- endif -%}
{# Add backlinks to footnotes #}
{%- if config.extra.footnote_backlinks and config.extra.footnote_backlinks == true or page.extra.footnote_backlinks and page.extra.footnote_backlinks == true -%}
<script defer src="{{ get_url(path='js/footnoteBacklinks.min.js', trailing_slash=false | safe )}}"/></script>
{%- endif -%}
</body>
</html>