1
Fork 0

add basic project template

This commit is contained in:
Jake Howard 2016-11-25 23:19:29 +00:00
parent cf5aaddc2d
commit f1a591442f

View file

@ -0,0 +1,18 @@
{% extends "base.html" %}
{% load wagtailcore_tags wagtailimages_tags %}
{% block body_class %}template-projectpage{% endblock %}
{% block content %}
<h1>{{ page.title }}</h1>
<p class="meta">{{ page.date }}</p>
{% if page.main_image %}
{% image page.main_image width-400 %}
{% endif %}
<div class="intro">{{ page.intro }}</div>
{{ page.body|richtext }}
{% endblock %}