Scaffold containerized Django/Wagtail app with core features
This commit is contained in:
14
templates/blog/about_page.html
Normal file
14
templates/blog/about_page.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load wagtailimages_tags wagtailcore_tags %}
|
||||
{% block content %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p>{{ page.mission_statement }}</p>
|
||||
{{ page.body|richtext }}
|
||||
{% if page.featured_author %}
|
||||
<h2>{{ page.featured_author.name }}</h2>
|
||||
<p>{{ page.featured_author.bio }}</p>
|
||||
{% if page.featured_author.avatar %}
|
||||
{% image page.featured_author.avatar fill-200x200 %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user