hugo-geekdoc/layouts/posts/single.html

11 lines
314 B
HTML
Raw Normal View History

2020-01-12 14:33:02 +00:00
{{ define "main" }}
{{ $dateFormat := default "January 2, 2006" .Site.Params.GeekdocDateFormat }}
<article class="gdoc-markdown">
<h1>{{ .Title }}</h1>
<h5>
<strong>{{ .Date.Format $dateFormat }}</strong>
</h5>
2020-02-26 22:59:30 +00:00
{{ partial "content" . }}
2020-01-12 14:33:02 +00:00
</article>
{{ end }}