mirror of
https://github.com/trwnh/hugo-theme-paradox.git
synced 2024-11-24 10:21:21 +00:00
fix nil date, replace with lastmod
This commit is contained in:
parent
653247d765
commit
bc9e64a009
|
@ -17,7 +17,7 @@
|
||||||
<h2 class="list-item__title">{{ .Title }}</h2>
|
<h2 class="list-item__title">{{ .Title }}</h2>
|
||||||
</a>
|
</a>
|
||||||
<p class="list-item__summary">{{.Summary}}</p>
|
<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>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue