1 | {% extends "layout.html" %}
|
2 |
|
3 | {% include "blogMacros.html" %}
|
4 |
|
5 | {% block bodyClass %}{{ super() }} apos-blog-post-page{% endblock %}
|
6 |
|
7 | {# Article specific title tag, for Facebook, SEO, etc. #}
|
8 | {%- block title -%}
|
9 | {{ siteTitle }} – {{ piece.title | e }}
|
10 | {%- endblock -%}
|
11 |
|
12 | {# Facebook image, so it doesn't hoover up images from the dropdown menus #}
|
13 | {# Works only if you specify an absolute URL for uploadsUrl in data/local.js #}
|
14 |
|
15 | {% set firstImage = aposAreaImage(piece, 'thumbnail') or aposAreaImage(piece, 'body') %}
|
16 |
|
17 | {% block extraHead %}
|
18 | {% if firstImage %}
|
19 | <meta property="og:image" content="{{ aposFilePath(firstImage) }}" />
|
20 | {% endif %}
|
21 | {% endblock %}
|
22 |
|
23 | {% block mainContent %}
|
24 |
|
25 | <div class="column-2 blog-posts">
|
26 | {{ renderBlogPost(page) }}
|
27 | </div>
|
28 |
|
29 | {% endblock %}
|