Hello, I am using Materalize CSS and I have started going through and changing the Deliver theme to suit my needs.
— html
-
{% if theme_config.dropdown.enabled %}
{{ _self.loop(pages) }}
{% else %}
{% for page in pages.children.visible %}
{% set current_page = (page.active or page.activeChild) ? 'active' : '' %}
- {% if page.header.icon %}{% endif %} {{ page.menu }} {% endfor %} {% endif %}
-
{% if theme_config.dropdown.enabled %}
{{ _self.loop(pages) }}
{% else %}
{% for page in pages.children.visible %}
{% set current_page = (page.active or page.activeChild) ? 'active' : '' %}
- {% if page.header.icon %}{% endif %} {{ page.menu }} {% endfor %} {% endif %}
— html
```I can see that the code for " theme_config.dropdown.enabled" but I don’t see where it is located and to create child pages. I also want my child page to override the default base.html.twig which I assume is possible. I basically want to create a product child page.
What would my folder structure look like to achieve this?
My current folder structure for skincare is : 02.skincare/_modularpages
_modularpages
I want to achieve “silver” as a child page of “skincare” therefore would it look like 02.skincare/01.silver ?
I understand that my default makrdown has to specify the page as
content:
items:
'@page.children': /silver
/gold
/plantinum
---