Add setting menuInHeader to allow the manin menu to be moved to the header.
This commit is contained in:
parent
4d3658251f
commit
35443bce5c
1 changed files with 3 additions and 1 deletions
|
|
@ -21,10 +21,11 @@
|
|||
</h1>
|
||||
<div class="region header__region">
|
||||
{{ if site.IsMultiLingual }}{{ partial "language-selector.html" . }}{{ end -}}
|
||||
{{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{ partial "menu.html" . }}
|
||||
{{ if not ($.Param "menuinheader") }}{{ partial "menu.html" . }}{{ end -}}
|
||||
|
||||
{{ block "main" . }}{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue