Moving so much stuff around

This commit is contained in:
Jef Roosens 2024-06-05 21:43:47 +02:00
parent b1719e8d24
commit cd10df9d32
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
13 changed files with 34 additions and 22 deletions

View file

@ -0,0 +1,19 @@
{{ define "main" }}
<article>
<header id="post-header">
<h1>{{ .Title }}</h1>
<div>
Part of the <a href="{{ .Parent.Permalink }}">{{ .Parent.Title }}</a> series
</br>
{{- if isset .Params "date" -}}
{{ if eq .Lastmod .Date }}
<time>{{ .Date | time.Format (i18n "post.created") }}</time>
{{ else }}
<time>{{ .Lastmod | time.Format (i18n "post.updated") }}</time>
{{ end }}
{{- end -}}
</div>
</header>
{{- .Content -}}
</article>
{{ end }}