23 lines
589 B
HTML
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 }}
|