From 07ae2416c13486a7978eccab944f68755eee20a0 Mon Sep 17 00:00:00 2001 From: vimux Date: Tue, 20 Aug 2019 09:23:14 -0400 Subject: [PATCH] Remove extra if statement --- layouts/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index ead42da..0682188 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,8 +1,8 @@ {{ define "main" }}
- {{- if .Content }} + {{- with .Content }}
- {{ with .Content }}
{{ . }}
{{ end }} +
{{ . }}
{{- end }} {{- $mainSections := .Site.Params.mainSections }}