f="{{ sec_.permalink | safe }}{{ _ugly_url }}">{{ sec_.title }}</a></li>
                {% endfor %}
            </ul>
        {% endif -%}

        <h3>Pages:</h3>
        <ul>
            {% if section.pages -%}
                {% for page in section.pages -%}
                    <li><a href="{{ page.permalink | safe }}{{ _ugly_url }}">{{ page.title }}</a></li>
                {% endfor -%}
            {% else -%}
                <li>No pages</li>
            {% endif %}
        </ul>
    {% endif -%}
{%