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