From 094cfa5dd94842b00e89aca7220f7341e89d8edf Mon Sep 17 00:00:00 2001 From: Joshua Wolfe Date: Fri, 4 May 2018 00:24:02 -0400 Subject: feat(config): add option to hide header and footer for a post (#58) --- layouts/_default/baseof.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ce87827..0693148 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,9 +16,11 @@ {{ partial "slideout.html" . }}
+ {{ if not .Params.hideHeaderAndFooter -}} + {{- end }}
@@ -29,9 +31,11 @@
+ {{ if not .Params.hideHeaderAndFooter -}}
{{ partial "footer.html" . }}
+ {{- end }}
-- cgit v1.2.3