contrast-hugo/layouts/_default/single.html
2019-08-01 15:44:41 +02:00

12 lines
306 B
HTML

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