I added the following short code called collapse-entry
<h2>
<a class="accordion-button collapsed" style="font-size:48px;" data-bs-toggle="collapse" href="#{{ .Get "id" }}" role="button" aria-expanded="false" aria-controls="{{ .Get "id" }}">
  {{ .Get "title" }}
</a>
</h2>
<div class="collapse" id="{{ .Get "id" }}">
  <div class="accordion-body">
  
    {{ .Inner | markdownify }}
    {{ if .Get "img" }}
    <figure>
      <img src="{{ .Get "img" }}">
    </figure>
    {{ end }}
		
  </div>
</div>
to be able to have single collapsible entries.
One of the entries contains footnotes ([^]) as described here under “Adding a footnote”.
Unfortunately, the footnotes don’t get rendered. As an example, one of the rendered output is de la population[^note2]. Now my question is, how can I use footnotes in short codes?