blog/layouts/_default/single.html
2025-08-20 15:19:24 +01:00

15 lines
392 B
HTML

{{ define "main" }}
<article>
<header id="post-header">
<h2>{{ .Title }}</h2>
<div>
{{- if isset .Params "date" -}} {{ if eq .Lastmod .Date }}
<p>{{ .Date | time.Format (i18n "post.created") }}</p>
{{ else }}
<p>{{ .Lastmod | time.Format (i18n "post.updated") }}</p>
{{ end }} {{- end -}}
</div>
</header>
{{- .Content -}}
</article>
{{ end }}