diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 1da8370..0b88d4f 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -1,10 +1,10 @@ {{ partial "header.html" . }} -{{ with .Content }} - {{- . -}} -{{ end }} - -{{ if eq (len .Content) 0 }} +{{ if ne (len .Content) 0 }} +
+ {{ .Content }} +
+{{ else }}
{{ range sort .Paginator.Pages }} @@ -33,5 +33,3 @@ {{ end }} {{ partial "footer.html" . }} - -