{% extends "pages/base.html" %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/pages.css">

{# Add your own stylesheets below before the endblock extra_head #}

{% endblock extra_head %}

{% comment %}
{# in your default.html, be sure to wrap the the block body with custom_body like below #}

{% block custom_body %}
{% block body %}{{ block.super }}{% endblock body %}
{% endblock custom_body %}

{% endcomment %}

{% block custom_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>

        <!-- Insert custom template code here -->

        {% include "pages/meta.html" %}
    </div>
</div>
{% endblock custom_body %}

{% block extra_body %}
{{ block.super }}

{# add your javascript here. jquery will already be loaded #}

{% endblock extra_body %}