Add date on blog posts
Tim Izzo tim@5ika.ch
Sat, 24 Aug 2024 12:21:28 +0200
1 files changed,
5 insertions(+),
2 deletions(-)
jump to
M
layouts/posts/single.html
→
layouts/posts/single.html
@@ -1,6 +1,9 @@
{{ define "main" }} - <h1>{{ .Title }}</h1> - {{ .Content }} + <span class="date">{{ .Date | time.Format "02.01.06" }}</span> + <article> + <h1>{{ .Title }}</h1> + {{ .Content }} + </article> {{ with .PrevInSection }} {{ if .RelPermalink }}