Make it possible to easily add sources

This commit is contained in:
ItsDrike 2022-04-12 11:25:06 +02:00
parent cb9b6b7a7a
commit 319c9b0da3
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -21,5 +21,17 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ .Content }} {{ .Content }}
<div id="sources">
{{ if .Params.Sources }}
<h2>Sources</h2>
<ul>
{{ range $i, $e := .Params.Sources }}
<li>{{ markdownify $e }}</li>
{{ end }}
</ul>
{{ end }}
</div>
</div> </div>
{{ end }} {{ end }}