[FIX] website: remove hamburger menu option
Standard option is sadly not good enough to be kept. We will let themes handle that one their own way.
This commit is contained in:
@@ -483,10 +483,7 @@
|
||||
|
||||
<!-- Layout Options -->
|
||||
<content string="Layout" title="Choose your layout">
|
||||
<list string="Menu">
|
||||
<opt string="Top Bar" data-xmlid="" data-reload="/"/>
|
||||
<opt string="Hamburger" data-xmlid="website.option_hamburger_menu, website.no_autohide_menu" data-reload="/"/>
|
||||
</list>
|
||||
<!-- In a <more/> so that themes can easily add other options before -->
|
||||
<more data-depends="">
|
||||
<list string="Body">
|
||||
<opt string="Full" data-xmlid="website.option_layout_full_variables" data-enable="option_no_background" data-icon="/website/static/src/img/options/layout-full.png"/>
|
||||
@@ -584,13 +581,6 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Menu options -->
|
||||
<template id="option_hamburger_menu" inherit_id="website.layout" active="False">
|
||||
<xpath expr="//header/nav" position="attributes">
|
||||
<attribute name="class" remove="navbar-expand-md" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Layout options -->
|
||||
<template id="option_layout_full_variables" inherit_id="website._assets_primary_variables" active="True">
|
||||
<xpath expr="//link[last()]" position="after"/>
|
||||
|
||||
Reference in New Issue
Block a user