hugo-theme-hilfe/layouts/posts/single.html
2020-02-26 23:59:30 +01:00

10 lines
314 B
HTML

{{ define "main" }}
{{ $dateFormat := default "January 2, 2006" .Site.Params.GeekdocDateFormat }}
<article class="gdoc-markdown">
<h1>{{ .Title }}</h1>
<h5>
<strong>{{ .Date.Format $dateFormat }}</strong>
</h5>
{{ partial "content" . }}
</article>
{{ end }}