{# Automatically extends the right outer layout and also handles AJAX siutations #} {% extends data.outerLayout %} {% block title %} {# Create a useful, SEO-friendly title tag based on what we have #} {% if data.piece %} {{ data.piece.title }} {% elseif data.page %} {{ data.page.title }} {% else %} {{ apos.log('Looks like you forgot to override the title block in a template that does not have access to an Apostrophe page or piece.') }} {% endif %} {% endblock %} {% block extraHead %} {# This block outputs its contents in the HTML document's
. It is a good place to put extra #} {% endblock %} {% block beforeMain %} {# We recommend you use the beforeMain block for global page components like headers or navigation. #} {% block menu %} {% endblock %} {% endblock %} {% block main %} {# Usually, your page templates in the apostrophe-pages module will override this block. It is safe to assume this is where your page-specific content should go. #} {% endblock %} {% block afterMain %} {# This would be a great place to put a global footer. #} {% endblock %}