33 lines
959 B
HTML
33 lines
959 B
HTML
{% extends "base.html" %}
|
|
{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %}
|
|
{% block metadesc %}{% if page.summary %}{{ page.summary|e }}{% else %}{{ super() }}{% endif
|
|
%}{% endblock %}
|
|
|
|
{% block content_header %}
|
|
<header id="main-header">
|
|
<h1>{{ page.title }}</h1>
|
|
</header>
|
|
{% endblock content_header %}
|
|
|
|
{% block content_body %}
|
|
<article id="page-body">
|
|
<div class="body-column-text">
|
|
{{ page.content }}
|
|
</div>
|
|
<div class="body-column-image">
|
|
{% if page.featured_image is defined %}
|
|
{% from 'includes/macros.html' import fi %}
|
|
{% set i = page.featured_image[0] %}
|
|
{{ fi(i.pic, i.link, i.text, i.alt, i.credit, i.credit_link) }}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock content_body %}
|
|
|
|
{% block content_footer %}
|
|
{% if page.footer_line is defined %}
|
|
<p class="muted">{{ page.footer_line }}</p>
|
|
{% elif page.footer_include is defined %}
|
|
{% include page.footer_include %}
|
|
{% endif %}
|
|
{% endblock content_footer %} |