From 8dcca4124c85cb898edbc023bb9d4bfbc5255ac5 Mon Sep 17 00:00:00 2001 From: Ben Krieger Date: Sun, 14 May 2023 23:38:09 -0400 Subject: [PATCH] Allow framed styling of index content on non-main sections Signed-off-by: Ben Krieger --- layouts/_default/list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6a469bd..0f87ecf 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ {{ define "main" }} - {{ with .Content }} -
- {{ . }} + {{ if .Content }} +
+ {{ .Content }}
{{ end }}