{# Normalize directory URLs when a static host serves index.html without a redirect. #} {% extends "base.html" %} {% block site_meta %} {% if page and (not page.url or page.url.endswith("/")) %} {% endif %} {{ super() }} {% endblock %}