Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 260 Bytes

Flattens the rsc menu structure for use in a template loop.

Example:

{% for item in m.rsc[id].menu|menu_flat %}
...
{% endif %}
.. seealso:: :ref:`filter-menu_subtree`, :ref:`filter-menu_trail`