From c8bf719e3d4a4c6ed1e70c5091f72e542ffc7a3d Mon Sep 17 00:00:00 2001 From: vimux Date: Tue, 30 Jul 2019 17:32:26 -0400 Subject: Define the Base Template and fix Hugo warnings * Define the Base Template (baseof.html) * Use relative URL link to style.css file * Move summary.html from partials to _default layouts * Fix Hugo warnings (needs Hugo 0.20 or newer) * Fix Paginator rule on main page. Fix #8 * Latest posts: show pages from mainSections only * Bump Hugo 0.19 -> 0.20 * Formatting --- layouts/_default/single.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4593944..af8398c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{ partial "header.html" . }} +{{ define "main" }}

{{ .Title }}

@@ -9,7 +9,7 @@
@@ -19,4 +19,4 @@
{{ partial "sidebar.html" . }} -{{ partial "footer.html" . }} +{{ end }} -- cgit v1.2.3