hugo-geekdoc/layouts/posts/single.html

13 lines
392 B
HTML
Raw Permalink Normal View History

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