More vertical option
Make dynamic the more vertical option in the headers nav
This commit is contained in:
parent
98da5665a3
commit
dd225d829b
3 changed files with 17 additions and 8 deletions
11
_config.yml
11
_config.yml
|
|
@ -15,5 +15,16 @@ header_type: default # values [ drawer, default ]
|
|||
post_type: highlight # values [ highlight, default ]
|
||||
pagination_type: default # values [ ops, default ]
|
||||
|
||||
more_vert:
|
||||
option1:
|
||||
name: Cool Option 1
|
||||
link: www.myawesomelink.com
|
||||
option2:
|
||||
name: Cool Option 2
|
||||
link: www.myawesomelink.com
|
||||
option3:
|
||||
name: Cool Option 3
|
||||
link: www.myawesomelink.com
|
||||
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
|
|
|
|||
|
|
@ -28,10 +28,9 @@
|
|||
</button>
|
||||
|
||||
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="menu-lower-left">
|
||||
<li class="mdl-menu__item">Some Action</li>
|
||||
<li class="mdl-menu__item">Another Action</li>
|
||||
<li disabled class="mdl-menu__item">Disabled Action</li>
|
||||
<li class="mdl-menu__item">Yet Another Action</li>
|
||||
{% for option in site.more_vert %}
|
||||
<li><a href="{{ option[1].link }}" class="mdl-menu__item">{{ option[1].name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
|||
|
|
@ -17,10 +17,9 @@
|
|||
</button>
|
||||
|
||||
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="fixed-menu-lower-left">
|
||||
<li class="mdl-menu__item">Some Action</li>
|
||||
<li class="mdl-menu__item">Another Action</li>
|
||||
<li disabled class="mdl-menu__item">Disabled Action</li>
|
||||
<li class="mdl-menu__item">Yet Another Action</li>
|
||||
{% for option in site.more_vert %}
|
||||
<li><a href="{{ option[1].link }}" class="mdl-menu__item">{{ option[1].name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue