better capsule (aka footnotes)

This commit is contained in:
2026-07-07 16:31:47 +02:00
parent 13679a38b9
commit 015e3654fe
10 changed files with 168 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
{% apply footnotes_spaceless %}
{# footnotes/footnote-link.html.twig #}
<span class="footnote__citation js-footnote-citation" id="{{ fn.ref_id }}" data-content="{{ fn.text }}">
<div class="footnote__citation js-footnote-citation" id="{{ fn.ref_id }}">
{{ fn.value|render|trim }}
{# <aside class="footnote-content">{{ fn.text }}</aside> #}
</span>
<aside class="footnote-content">{{ fn.text }}</aside>
</div>
{% endapply %}