contrast-hugo/layouts/_default/single.html
Niklas Buschmann 80ab8e36c3 simplify
2020-11-25 20:51:00 +01:00

12 lines
255 B
HTML

{{ define "main" }}
<article>
<header>
<h1>{{ .Title }}</h1>
{{ if .Date }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "January 02, 2006" }}</time>{{ end }}
</header>
{{ .Content }}
</article>
{{ end }}