Continuing the discussion from Create a collection of modular children in a module?:
Hello,
If what you want is to have a menu in your modular page with links to the different submodular page, it's possible.
This works (just tested):
<ul class="list-inline">
{% for module in page.collection %}
<li class="sqr_button">
<a href="#{{ module.slug }}">
{{ module.slug}}
</a>
</li>
{% endfor %}
</ul>
Maybe using the keyword page confuses grav ?