fdfe3c7045
* Adds basic wagtail app to the website * Renames lca_website to cms_pages for clarity; re-instates pinax-boxes until we remove them from the templates * OOPS * Just Enough Wagtail * Removes the template view homepage from urls.py * OOPS * Makes the home page use a stream field * Removes an irrelevant migration that I accidentally introduced.
27 lines
562 B
HTML
27 lines
562 B
HTML
{% extends "site_base.html" %}
|
|
|
|
{% 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 %}
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
{% if page.main_image %}
|
|
{% image page.main_image width-400 %}
|
|
{% endif %}
|
|
|
|
<p class="meta">{{ page.date }}</p>
|
|
|
|
<div class="intro">{{ page.intro }}</div>
|
|
|
|
{{ page.body|richtext }}
|
|
{% endblock %}
|
|
{% endblock %}
|