Extract refrences partial; fix spacing bug

This commit is contained in:
David Eisinger
2023-05-30 15:48:23 -04:00
parent a3a4b3c779
commit 297cd59eff
3 changed files with 19 additions and 36 deletions

View File

@@ -0,0 +1,17 @@
{{ with .Params.References }}
<hr>
<div class="references">
<h3>References</h3>
<ul>
{{ range . }}
<li><a href="{{ .url }}">{{ .title }}</a>”;
<a href="/archive/{{ .file }}">
backed up {{ .date | time.Format "2006-01-02 15:04:05 MST" }}
</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}