1
Fork 0

Add templates for simple content pages

This commit is contained in:
Jake Howard 2018-07-26 08:55:53 +01:00
parent 32d93b31ce
commit b824e348f3
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% load static %}
{% block content %}
<div id="main">
<div class="container">
{% include "common/content.html" %}
</div>
</div>
{% endblock %}

View file

@ -0,0 +1,10 @@
{% load wagtailcore_tags %}
<div class="mb-3 image header-image" data-image=''></div>
<h1 class="display-5">{{ page.title }}</h1>
<h5 class="my-3">Subtitle</h5>
<p>Details</p>
<hr />
<div class="content mt-3">
{% include_block page.body %}
</div>

View file

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% load static %}
{% block content %}
<div id="main">
<div class="container">
{% include "common/content.html" %}
</div>
</div>
{% endblock %}