aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
blob: 9222a59548b7d73ed44afbf72ab54b1243282620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ define "main" }}
{{ $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat }}
<header class="markdown">
  <h1>{{ .Title }}</h1>
  <h5>
    <strong>{{ .Date.Format $dateFormat }}</strong>
  </h5>
</header>
<article class="markdown">
  {{- .Content -}}
</article>
{{ end }}