fix nil date, replace with lastmod

This commit is contained in:
a 2022-10-25 18:12:18 -05:00 committed by GitHub
parent 653247d765
commit bc9e64a009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@
<h2 class="list-item__title">{{ .Title }}</h2>
</a>
<p class="list-item__summary">{{.Summary}}</p>
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
<datetime class="list-item__date">{{ .Lastmod.Format "January 2, 2006" }}</datetime>
</article>
{{ end }}
</div>