ccchh-website/themes/ccchh/layouts/blog/single.html
jtbx 462fb7ed68
All checks were successful
/ build (pull_request) Successful in 40s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 13s
[FIX] failed build on some newer hugo versions
might need v0.123.0 or greater
2024-03-12 21:22:28 +01:00

23 lines
589 B
HTML

{{ define "main" }}
<main class="container" aria-role="main">
<article class="blog">
{{- partial "blog-header.html" (dict "page" . ) }}
<section>
{{ .Content }}
</section>
<div class="meta">
{{- with .PublishDate }}
<small class="li-comma">Veröffentlicht: {{ .Format "2006-01-02 15:04" }}</small>
{{- end }}
{{- if .Lastmod.After .PublishDate }}
{{- with .Lastmod }}
<small class="li-comma">letzte Änderung: {{ .Format "2006-01-02 15:04" }}</small>
{{- end }}
{{- end }}
</div>
</article>
</main>
{{ end }}