From f1a591442fc9a8b270d7690e710e4e7768ed896d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 25 Nov 2016 23:19:29 +0000 Subject: [PATCH] add basic project template --- templates/projects/project_page.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/projects/project_page.html diff --git a/templates/projects/project_page.html b/templates/projects/project_page.html new file mode 100644 index 0000000..4aff665 --- /dev/null +++ b/templates/projects/project_page.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% load wagtailcore_tags wagtailimages_tags %} + +{% block body_class %}template-projectpage{% endblock %} + +{% block content %} +

{{ page.title }}

+

{{ page.date }}

+ + {% if page.main_image %} + {% image page.main_image width-400 %} + {% endif %} + +
{{ page.intro }}
+ + {{ page.body|richtext }} +{% endblock %}