2019-12-31 08:59:49 +00:00
|
|
|
{% extends "layout.html" %}
|
2019-09-24 11:30:38 +00:00
|
|
|
{% from "macros/blog.html" import render_blog_post %}
|
|
|
|
{% block title %}{{ this.title }}{% endblock %}
|
|
|
|
{% block body %}
|
2019-11-20 12:39:01 +00:00
|
|
|
{% set background_image = this.attachments.images.first() %}
|
|
|
|
<header class="intro-header" style="{% if background_image %}background-image: url('{{ background_image|url }}');{% else %} background-color: #333; {% endif %}">
|
2019-10-02 13:38:52 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
|
|
<div class="post-heading">
|
|
|
|
<h1>{{ this.title }}</h1>
|
|
|
|
<h2 class="subheading">
|
|
|
|
<p>{{ this.subtitle }}</p>
|
|
|
|
</h2>
|
|
|
|
<span class="meta">
|
|
|
|
Posted on {{ this.pub_date }} by {% if this.twitter_handle %}<a href="https://twitter.com/{{ this.twitter_handle }}">{{ this.author or this.twitter_handle }}</a>{% else %}{{ this.author }} {% endif %}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
|
|
<div class="app app-blog span8">
|
|
|
|
<article>
|
|
|
|
<div class="blog-content">
|
|
|
|
{{ render_blog_post(this) }}
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-24 11:30:38 +00:00
|
|
|
{% endblock %}
|