40a4df3767
* Simple form input fields now use TakeFlight styling * Styles the form widgets as per the styles in our CSS * Styling of TextArea now matches the remaining input types * Adds is_last modifier to navigation dropdown * Adds admin for talk, tutorial, and miniconf proposals * Adds an RSS feed * Adds a link to the RSS page * Unbreaks the old news index page * Adds never_cache to the login page, removes the never cache middleware from the settings
47 lines
1.4 KiB
HTML
47 lines
1.4 KiB
HTML
{% extends "site_base_wagtail.html" %}
|
||
|
||
{% load staticfiles %}
|
||
{% load wagtailcore_tags %}
|
||
{% load wagtailimages_tags %}
|
||
|
||
{% load sitetree %}
|
||
{% load i18n %}
|
||
|
||
{% block body_class %}template-blogpage{% endblock %}
|
||
|
||
{% block head_title %}{{ page.title }}{% endblock %}
|
||
|
||
{% block body %}
|
||
{% block content %}
|
||
{% include "cms_pages/content_page_header_panel.html" %}
|
||
|
||
{% if page.child_pages %}
|
||
{% for item in page.child_pages %}
|
||
<div class="panel panel__compact">
|
||
<div class="panel--content">
|
||
<div class="panel--1-3">
|
||
<div class="portrait">
|
||
{% image item.portrait_image width-640 as portrait_image %}
|
||
<div style="background-image: url('{{ portrait_image.url }}');" class="portrait--img"></div>
|
||
</div>
|
||
</div>
|
||
<div class="panel--2-3">
|
||
<h2>{{ item.title }}</h2>
|
||
<p class="lede"><em>{{ item.date|date:"j F Y" }}</em> – {{ item.intro }}</p>
|
||
<a href="{{ item.url }}" class="btn">Read more</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{% endfor %}
|
||
<div class="panel panel__compact"></div>
|
||
{% endif %}
|
||
|
||
<div class="panel panel__compact">
|
||
<div class="panel--content">
|
||
<h3>Subscribe</h3>
|
||
<p><a class="btn" href="rss">View as RSS</a></p>
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|
||
{% endblock %}
|