blog/themes/embark/layout/blog-post.swig

22 lines
489 B
Plaintext

{{
partial('partial/header-blog', {
title: page.title,
tagline: page.tagline,
author: site.data.authors[page.author],
articleDate: page.date
})
}}
<main role="main" class="o-standard-page">
<section class="o-container o-distance">
{{page.content}}
</section>
{% if page.next !== null || page.prev !== null %}
<div class="o-container o-distance">
{{ partial('partial/paginator', { next: page.next, prev: page.prev }) }}
</div>
{% endif %}
</main>