mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-17 18:30:40 +00:00
13 lines
392 B
HTML
13 lines
392 B
HTML
{{ define "main" }}
|
|
{{ $dateFormat := default "January 2, 2006" .Site.Params.GeekdocDateFormat }}
|
|
<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>
|
|
{{ partial "content" . }}
|
|
</div>
|
|
</article>
|
|
{{ end }}
|