ccchh-website/themes/ccchh/layouts/blog/single.html

23 lines
617 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
<main class="container" aria-role="main">
<article class="blog">
2023-10-08 17:38:54 +02:00
{{- partial "blog-header.html" (dict "page" . ) }}
<section>
{{ .Content }}
</section>
<div class="meta">
{{- with .Params.publishDate }}
<small class="li-comma">Veröffentlicht: {{ .Format "2006-01-02 15:04" }}</small>
{{- end }}
{{- if .Params.lastmod.After .Params.publishDate }}
{{- with .Params.lastmod }}
<small class="li-comma">letzte Änderung: {{ .Format "2006-01-02 15:04" }}</small>
{{- end }}
{{- end }}
</div>
</article>
</main>
{{ end }}