1
Fork 0

Add basic detail page

This commit is contained in:
Jake Howard 2018-07-26 09:37:18 +01:00
parent 842ccae297
commit 0631d3a672
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@
<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>
<p>{% include "common/content_details.html" with page=page %}</p>
<hr />
<div class="content mt-3">
{% include_block page.body %}

View file

@ -0,0 +1,3 @@
{% if page.post_date %}
<span class="pr-1" title='{{ page.post_date }}'>{{ page.post_date }}</span>
{% endif %}

View file

@ -20,7 +20,7 @@
<a href="{{ child.url }}">
<h5 class="my-0">{{ child.title }}</h5>
</a>
<small>details</small>
<small>{% include "common/content_details.html" with page=child %}</small>
<p>{{ child.get_short_body }}</p>
</div>
</div>