6121ce79cc
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.
51 lines
1.4 KiB
HTML
51 lines
1.4 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 class="panel panel__compact panel__bg">
|
|
|
|
<div style="background-image: url('{% block header_background_image %}{% endblock %}');" class="panel--bg"></div>
|
|
|
|
<h1>Or is it here?</h1>
|
|
<div class="panel--content">
|
|
<div class="panel--2-3">
|
|
<h2>{% block header_title %}{% endblock %}</h2>
|
|
<p class="lede">{% block header_paragraph %}{% endblock %}</p>
|
|
</div>
|
|
{% block header_inset_image_base %}
|
|
<div class="panel--1-3">
|
|
<div class="portrait">
|
|
<div style="background-image: url('{% block header_inset_image %}{% endblock %}');" class="portrait--img"></div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
</div>
|
|
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content_base %}
|
|
<div class="l-content-page">
|
|
<div class="l-content-page--richtext">
|
|
{% block content %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% endblock %}
|
|
|
|
{% block extra_script %}
|
|
<script src="{% static 'js/site-92ae8d0d6c.js' %}" type="text/javascript"></script>
|
|
{% endblock %}
|