change menu behavior
This commit is contained in:
parent
7f097d7700
commit
5cf4720aff
3 changed files with 5 additions and 8 deletions
|
@ -18,8 +18,7 @@
|
|||
|
||||
{{ $bundle := slice $menu $languageSelector $prism | resources.Concat "bundle.js" | resources.Minify }}
|
||||
|
||||
|
||||
<script type="text/javascript" async src="{{ $bundle.RelPermalink }}"></script>
|
||||
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
|
||||
|
||||
<!-- Extended footer section-->
|
||||
{{ partial "extended_footer.html" . }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<nav class="menu">
|
||||
<nav class="menu hidden-on-mobile">
|
||||
<ul class="menu__inner menu__inner--desktop">
|
||||
{{ if or $.Site.Params.showMenuItems ( eq .Site.Params.showMenuItems 0 ) }}
|
||||
{{ range first $.Site.Params.showMenuItems $.Site.Menus.main }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue