|
@@ -2,6 +2,7 @@
|
|
|
{% load navigation_tags wagtailimages_tags %}
|
|
|
|
|
|
{% block content %}
|
|
|
+
|
|
|
{% image self.image fill-1920x600 as hero_img %}
|
|
|
<div class="container-fluid hero" style="background-image:url('{{ hero_img.url }}')">
|
|
|
<div class="hero-gradient-mask"></div>
|
|
@@ -22,6 +23,19 @@
|
|
|
<p class="intro">{{ page.introduction }}</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ {# TODO These two loops could be consolidated into one, with styling #}
|
|
|
+ <div class="blog-byline">
|
|
|
+ {{ page.date_published }} by {% for author in page.authors %}
|
|
|
+ {{ author }}{% if not forloop.last %}, {% endif %}
|
|
|
+ {% endfor %}
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="blog-avatars">
|
|
|
+ {% for author in page.authors %}
|
|
|
+ {% image author.image width-100 class="blog-avatar" %}
|
|
|
+ {% endfor %}
|
|
|
+ </div>
|
|
|
+
|
|
|
{{ page.body }}
|
|
|
|
|
|
{% if page.get_tags %}
|