diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..cb76f1a --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,19 @@ +{{ partial "header.html" . }} +<main> + <header class="header-inline"> + <div class="heading"> + <div class="info"> + <div class="content"> + {{ if (gt .Params.date 0) }} {{ .Date.Format "January 2, 2006" }} {{ end }} {{ if (gt .Params.author 0) }} by {{ with .Params.author }} {{ . }} {{ end }} {{ end }} + </div> + </div> + <div class="content"> + <h1>{{ .Title | markdownify }}</h1> + </div> + </div> + </header> + <div class="content"> + {{ .Content }} + </div> +</main> +{{ partial "footer.html" . }} |