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

22 lines
617 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 .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 }}