Add templates for simple content pages
This commit is contained in:
parent
32d93b31ce
commit
b824e348f3
3 changed files with 32 additions and 0 deletions
11
templates/blog/blog_page.html
Normal file
11
templates/blog/blog_page.html
Normal 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 %}
|
10
templates/common/content.html
Normal file
10
templates/common/content.html
Normal 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>
|
11
templates/pages/simple_content_page.html
Normal file
11
templates/pages/simple_content_page.html
Normal 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 %}
|
Reference in a new issue