From 847c2231266b72d6ed8e5841addf4c24f7325018 Mon Sep 17 00:00:00 2001 From: lafleur Date: Sun, 15 Nov 2020 16:26:56 +0100 Subject: [PATCH] body section => main --- layouts/_default/index.html | 4 ++-- layouts/_default/list.html | 9 +++++---- layouts/_default/single.html | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/layouts/_default/index.html b/layouts/_default/index.html index fd071ab..b7e7555 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -1,8 +1,8 @@ {{ define "main" }} {{ with .Content }} -
+
{{ . }} -
+ {{ end }} {{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1fd20c5..e4be90a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,8 +1,9 @@ {{ define "main" }} -
-

{{ .Title }}

+
{{ with .Content }} - {{ . }} +
+ {{ . }} +
{{ end }}
    {{ range .Pages }} @@ -11,5 +12,5 @@ {{ end }}
-
+ {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cd6ec70..37c0418 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+

{{ .Title | markdownify }}

@@ -10,5 +10,5 @@ {{- end -}} -
+ {{ end }}