feat: Add dates to list template
This commit is contained in:
parent
3d1e40fb1b
commit
68f05ab0d5
1 changed files with 4 additions and 0 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue