From 982b2eae26308b2b16aa19bd5391e6d529eee505 Mon Sep 17 00:00:00 2001 From: vimux Date: Thu, 15 Nov 2018 10:14:05 -0500 Subject: [PATCH] Fix list.html partial: restore page block This was accidentally broken in "Define Base Template (baseof.html)" (896326481e86fa9a5a5e2b49b478a8a871315495) --- layouts/_default/list.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 07d2608..f7f3825 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,11 @@ {{ define "main" }}
+ {{- if or .Title .Content }} +
+ {{ with .Title }}

{{ . }}

{{ end }} + {{ with .Content }}
{{ . }}
{{ end }} +
+ {{- end }}
{{ range .Paginator.Pages }}