aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 4 insertions, 0 deletions
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 @@
<body>
{{ partial "slideout.html" . }}
<div class="container" id="mobile-panel">
+ {{ if not .Params.hideHeaderAndFooter -}}
<header id="header" class="header">
{{ partial "header.html" . }}
</header>
+ {{- end }}
<main id="main" class="main">
<div class="content-wrapper">
@@ -29,9 +31,11 @@
</div>
</main>
+ {{ if not .Params.hideHeaderAndFooter -}}
<footer id="footer" class="footer">
{{ partial "footer.html" . }}
</footer>
+ {{- end }}
<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>