itsdrike.com/layouts/partials/content-info.html
2023-12-10 01:08:09 +01:00

43 lines
1,007 B
HTML

<div class="content-info">
{{ if .Params.Footnotes }}
<div class="footnotes">
<h2>Footnotes</h2>
<ul>
{{ range $i, $e := .Params.Footnotes }}
<li>{{ markdownify $e }}</li>
{{ end }}
</ul>
</div>
{{ end }}
{{ if .Params.Sources }}
<div class="sources">
<h2>Sources</h2>
<ul>
{{ range $i, $e := .Params.Sources }}
<li>{{ markdownify $e }}</li>
{{ end }}
</ul>
</div>
{{ end }}
{{ if .Params.Changelog }}
<div class="changelog">
<h2> Changelog</h2>
<ul>
{{ range $i, $e := .Params.Changelog }}
<li>
{{ time $i | time.Format "2006-01-02" }}:
<ul>
{{ range $c := $e }}
<li>{{ markdownify $c }}</li>
{{ end }}
</ul>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</div>