blog/layouts/_default/single.html
2025-08-14 15:16:21 +01:00

15 lines
404 B
HTML

{{ define "main" }}
<article>
<header id="post-header">
<h3>{{ .Title }}</h3>
<div>
{{- 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 }}