forked from david-swift/duckling
31 lines
869 B
HTML
31 lines
869 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
{%- set rel_attributes = macros_rel_attributes::rel_attributes() | trim -%}
|
|
|
|
{%- if page.extra.toc_ordered or section.extra.toc_ordered or config.extra.toc_ordered -%}
|
|
{%- set list_element = "ol" -%}
|
|
{%- else -%}
|
|
{%- set list_element = "ul" -%}
|
|
{%- endif -%}
|
|
|
|
{%- set section = get_section(path=page.ancestors | last) -%}
|
|
|
|
<article>
|
|
{% include "partials/banner.html" %}
|
|
{% include "partials/article_content.html" %}
|
|
</article>
|
|
|
|
{%- if page.extra.comments.id -%}
|
|
{%- include "partials/comments.html" -%}
|
|
{%- endif -%}
|
|
|
|
<hr />
|
|
<nav id="post-nav">
|
|
<a class="post-nav-item post-nav-prev" href="..">
|
|
<div class="nav-arrow">{{ macros_translate::translate(key="back", default="Back", language_strings=language_strings) }}</div>
|
|
<span class="post-title">{{ section.title }}</span>
|
|
</a>
|
|
</nav>
|
|
{% endblock content %}
|