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
1 changed files with 2 additions and 2 deletions

View File

@ -17,10 +17,10 @@
<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>
</section>
</main>
{{ end }}
{{ end }}