New Header Type
Create a config for the type of the header used in the site, if the header type is drawer then a sidebar is loaded else use a simple material nav
This commit is contained in:
parent
aa439b98d3
commit
c0ee41733f
7 changed files with 122 additions and 1 deletions
|
|
@ -5,8 +5,13 @@
|
|||
|
||||
<body>
|
||||
|
||||
{% if site.header_type == 'drawer' %}
|
||||
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header mdl-layout--fixed-drawer">
|
||||
{% include header_fixed.html %}
|
||||
{% else %}
|
||||
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
|
||||
{% include header.html %}
|
||||
{% endif %}
|
||||
|
||||
<main class="mdl-layout__content">
|
||||
<div class="page-content">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue