portfolio/layouts/partials/footer.html

29 lines
686 B
HTML

{{- $footnotes := slice -}}
{{- with .Params.footnotes -}}
{{- $footnotes = . -}}
{{- else -}}
{{- with .Params.study.footnotes -}}
{{- $footnotes = . -}}
{{- end -}}
{{- end -}}
{{- if gt (len $footnotes) 0 -}}
<section id="footnotes">
<ul aria-label="Footnotes">
{{- range $footnotes -}}
<li class="footnote">
{{- with .symbol -}}
<span class="symbol">{{ . | safeHTML }}</span>
{{- end -}}
{{- with .note -}}
<span class="note">{{ . }}</span>
{{- end -}}
</li>
{{- end -}}
</ul>
</section>
{{- end -}}
<section id="end">
<p>Footer.</p>
</section>