Hi!
I love the functionality of the modular.
I would like to add a module inside of the footer region, but right now I can only get it to render inside the "Content". How do I create a modular and get it to render inside of a different region than "block content" ex "block footer"
This is my markup shortened.
<header>Content</header>
<section>
<div>Partial static content</div>
<div>--Modular dynamic content--</div>
<div>Partial static content</div>
</section>
<footer>--Modular dynamic content--</footer>
This is how the part of the modular.html.twig file looks.
{% block content %}
{% include 'partials/static-content.html.twig' %}
{{ page.modular-dynamic-content-1 }}
{% include 'partials/static-content.html.twig' %}
{% endblock %}
{% block footer %}
{{ page.modular-dynamic-content-2 }}
{% endblock %}
Frontmatter
content:
items: '@self.modular'
order:
by: default
dir: asc
custom:
- _modular-dynamic-content-1
- _modular-dynamic-content-2
---