duckling/templates/subproject.html
david-swift 7377a98fd1
Some checks are pending
Publish / publish (push) Waiting to run
Improve documentation design #3
2025-04-12 21:33:30 +02:00

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 %}