all repos — archive/hugo-xmin @ 773e2d43f339e9216d7d71d0a21f38f1e36c3f44

Customised minimal hugo theme

Convert to block-based templates

Alan Pearce
commit

773e2d43f339e9216d7d71d0a21f38f1e36c3f44

parent

791259ea0c7ad71cde6f464e63b1baf14218d7b9

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M layouts/_default/single.htmllayouts/_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 @@ <main>
{{ .Content }} </main> -{{ partial "footer.html" . }} +{{- end }}