1
Fork 0

Add date to box

This commit is contained in:
Jake Howard 2017-09-16 20:44:12 +01:00
parent a372b1068b
commit 0fe537197a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -5,6 +5,9 @@
<span class="image featured" data-image="{{ .Params.image }}"></span>
</a>
{{ end }}
{{ if .Params.date }}
<small title="{{ .Date.Format "January 2 2006" }}">{{ .Date.Format "2006-01-02" }}</small>
{{ end }}
<a href="{{ .Permalink }}">
<h3>{{ title .LinkTitle }}</h3>
</a>