mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-29 06:30:20 +00:00
13 lines
274 B
HTML
13 lines
274 B
HTML
{{ 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 }}
|