feat: Add dates to list template

This commit is contained in:
Thomas A. Christensen II 2023-04-01 01:40:52 -05:00
parent 3d1e40fb1b
commit 68f05ab0d5
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -34,6 +34,10 @@
{{ $link := default .RelPermalink (index .Params "link") }} {{ $link := default .RelPermalink (index .Params "link") }}
<a href="{{ $link }}"><h3 class="card-title">{{ .Title }}</h3></a> <a href="{{ $link }}"><h3 class="card-title">{{ .Title }}</h3></a>
<div>
{{ dateFormat "02 Jan 2006" .Date }}
</div>
{{ range (.GetTerms "people") }} {{ range (.GetTerms "people") }}
<a <a
href="{{ .RelPermalink }}" href="{{ .RelPermalink }}"