Files
notifications-admin/app/templates/content_template.html
Chris Hill-Scott 399eff7215 Make a reusable ‘content’ template
This is for static content pages and makes sure they always have the
right column widths and sub navigation.
2019-06-04 13:49:39 +01:00

22 lines
570 B
HTML

{% extends "withoutnav_template.html" %}
{% from "components/sub-navigation.html" import sub_navigation %}
{% from "components/page-header.html" import page_header %}
{% block per_page_title %}
{{ content_page_title }}
{% endblock %}
{% block maincolumn_content %}
<div class="grid-row">
{% if navigation_links %}
<div class="column-one-third">
{{ sub_navigation(navigation_links) }}
</div>
{% endif %}
<div class="column-two-thirds">
{% block content_column_content %}
{% endblock %}
</div>
</div>
{% endblock %}