Store references as metadata
This commit is contained in:
@@ -16,4 +16,23 @@
|
||||
</h3>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ with .Params.References }}
|
||||
<hr>
|
||||
|
||||
<div class="footnotes">
|
||||
<h3>References</h3>
|
||||
|
||||
<ul>
|
||||
{{ range . }}
|
||||
<li>
|
||||
"<a href="{{ .url }}">{{ .title }}</a>";
|
||||
<a href="{{ .file }}">
|
||||
backed up {{ .date | time.Format "2006-01-02 15:04:05 MST" }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user