symposion_app/pinaxcon/templates/pyconau2017/content_page.html
Nick Seidenman (N6) 6121ce79cc Getting the splash homepage to work via CMS.
Nearly there.  Much rubbish / cruft ripped out of  site_base.html and content_page.html.
Had to modify cms_pages/models.py to accommodate a "simple" layout option in the homepage
editor.
Still some stuff to do.  Styling not quite there yet, but want to checkpoint this.
2017-01-16 14:28:24 +11:00

47 lines
1.1 KiB
HTML

{% extends "site_base_wagtail.html" %}
{% load staticfiles %}
{% load wagtailcore_tags %}
{% load pyconau2017_tags %}
{% load sitetree %}
{% load i18n %}
{% block body_class %}template-content-page{% endblock %}
{% block head_title %}{% endblock %}
{% block body %}
{% block heading_panel %}
<div style="background-image: url('{% block header_background_image %}{% endblock %}');" class="panel--bg"></div>
<div class="panel--content">
<div class="panel--2-3">
{% block header_title %}{% endblock %}
<p class="lede">{% block header_paragraph %}{% endblock %}</p>
</div>
{% block header_inset_image_base %}
{% endblock %}
</div>
{% block topbar_base %}
{% endblock %}
{% endblock %}
{% block content_base %}
<div class="l-content-page">
<div class="l-content-page">
{% block content %}
{% endblock %}
</div>
</div>
{% endblock %}
{% endblock %}
{% block extra_script %}
<script src="{% static 'js/site-92ae8d0d6c.js' %}" type="text/javascript"></script>
{% endblock %}