all repos — blog @ 5c346ccfa2f13811c2467c63ecc6db996853e9c9

Code and content for 5ika.ch

Add date on blog posts
Tim Izzo tim@5ika.ch
Sat, 24 Aug 2024 12:21:28 +0200
commit

5c346ccfa2f13811c2467c63ecc6db996853e9c9

parent

d27d5aea69a84740e1d88e94acb27227f47b772a

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M layouts/posts/single.htmllayouts/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 }}