I have a template which I want to use for different sections.
In my template I have this code:
{% set pages = craft.entries.section('catering').level(1) %}
<ul>
{% for page in pages %}
<li>{{ page.getLink() }}</li>
{% endfor %}
</ul>
But I want to select the current section by Craft self. So I can use the same template for multiple sections.