{% extends page.template %}

{% block title %}{{ page.get_title }}{% endblock %}
{% block meta_description %}{{ page.get_description }}{% endblock %}
{% block meta_keywords %}{{ page.get_keywords }}{% endblock %}
{% block meta_canonical_url %}<link rel="canonical" href="{{ page.get_canonical_url }}" />{% endblock %}
{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/pages.css">
{% endblock %}

{% block body %}
<div class="t">
    <div class="page-wrap">
        {% if page.header_image %}<div class="page-header">
            <img src="{{ page.get_header_image_url }}" />
        </div>{% endif %}

		{% if page.title %}
        <h1>{{ page.title }}</h1> 
		{% endif %}
        
        <div class="content">{{ page.content|safe }}</div>
        {% include "pages/meta.html" %}
    </div>
</div>
{% endblock %}
