itsdrike.com/layouts/partials/content-info.html

43 lines
1,007 B
HTML
Raw Normal View History

<div class="content-info">
2023-12-10 00:07:40 +00:00
{{ if .Params.Footnotes }}
<div class="footnotes">
<h2>Footnotes</h2>
<ul>
{{ range $i, $e := .Params.Footnotes }}
<li>{{ markdownify $e }}</li>
{{ end }}
</ul>
</div>
{{ end }}
2022-05-23 16:35:18 +00:00
{{ if .Params.Sources }}
<div class="sources">
2022-05-23 16:35:18 +00:00
<h2>Sources</h2>
<ul>
2022-05-23 16:35:18 +00:00
{{ range $i, $e := .Params.Sources }}
<li>{{ markdownify $e }}</li>
{{ end }}
</ul>
2022-05-23 16:35:18 +00:00
</div>
{{ end }}
2023-12-10 00:07:40 +00:00
2022-05-23 16:35:18 +00:00
{{ if .Params.Changelog }}
<div class="changelog">
2022-05-23 16:35:18 +00:00
<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 }}
2023-12-10 00:07:40 +00:00
</div>