Add date to post preview

This commit is contained in:
Aroy-Art 2024-09-12 20:20:35 +02:00
parent 1246820463
commit 10bb8b5578
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -7,6 +7,7 @@
{{ partial "get_tags.html" . }}
<div class="content pt-0">
<small>{{ .Params.Date | time.Format "2006-01-02" }}</small>
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p>{{ .Plain | htmlUnescape | truncate 256 }}</p>
<a class="btn btn-transparent" href="{{ .Permalink }}">{{ i18n "readMore" }}</a>