From e34ded01904b07456a48cf28f1a5a2d2d77a0be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 15 Jun 2019 02:57:25 +0200 Subject: Simplifying parts of the theme --- layouts/_default/baseof.html | 4 ++++ layouts/_default/single.html | 6 +++--- layouts/_default/summary.html | 14 +++++++------- 3 files changed, 14 insertions(+), 10 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7f7c5ae..f5fb3d8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,11 @@ {{- partial "header.html" . -}} + +
{{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} {{- block "footerfiles" . }}{{- end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e28413d..6007308 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,10 +1,10 @@ {{ define "main" }}
-
-
+

{{ .Title }}

diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 379694c..20c8d9c 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,10 +1,10 @@ -