new param: moveFooterToHeader
This commit is contained in:
parent
1a3ed20f93
commit
78021345d9
|
@ -27,6 +27,7 @@ params:
|
|||
hideHeaderLinks: false
|
||||
search: true
|
||||
showThemeSwitcher: true
|
||||
moveFooterToHeader: false
|
||||
customCss:
|
||||
- css/custom_01.css
|
||||
- css/custom_02.css
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
<div class="main-and-footer">
|
||||
<div>
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ if ne .Site.Params.moveFooterToHeader true }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -13,5 +13,8 @@
|
|||
</p>
|
||||
</div>
|
||||
{{ partial "nav.html" . }}
|
||||
{{ if eq .Site.Params.moveFooterToHeader true }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue
Block a user