15 lines
579 B
Text
15 lines
579 B
Text
<div class="footnotes-container" {{ if accentStyle }}{{ accentStyle | safe }}{{ end }}>
|
|
{%- set footnotes = load_data(path="data/footnotes.toml", required=false) -%}
|
|
{%- if footnotes -%}
|
|
<div class="footnotes-list">
|
|
{%- for footnote in footnotes -%}
|
|
<div class="footnote">
|
|
<sup class="footnote-reference">
|
|
<a href="#fn-{{ loop.index }}">{{ loop.index }}</a>
|
|
</sup>
|
|
<p id="fn-{{ loop.index }}" class="footnote-content">{{ footnote.content }}</p>
|
|
</div>
|
|
{%- endfor -%}
|
|
</div>
|
|
{%- endif -%}
|
|
</div>
|