diff options
author | Alan Pearce | 2020-01-06 20:38:53 +0100 |
---|---|---|
committer | Alan Pearce | 2020-01-06 20:38:53 +0100 |
commit | 773e2d43f339e9216d7d71d0a21f38f1e36c3f44 (patch) | |
tree | fbb7b90665fe715e58b5ab27de3833dc220676a5 /layouts/_default/single.html | |
parent | 791259ea0c7ad71cde6f464e63b1baf14218d7b9 (diff) | |
download | hugo-xmin-773e2d43f339e9216d7d71d0a21f38f1e36c3f44.tar.lz hugo-xmin-773e2d43f339e9216d7d71d0a21f38f1e36c3f44.tar.zst hugo-xmin-773e2d43f339e9216d7d71d0a21f38f1e36c3f44.zip |
Convert to block-based templates
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0372f1d..bde04ef 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{ partial "header.html" . }} +{{ define "main" }} <div class="article-meta"> <h1><span class="title">{{ .Title | markdownify }}</span></h1> {{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }} @@ -9,4 +9,4 @@ {{ .Content }} </main> -{{ partial "footer.html" . }} +{{- end }} |