duckling/templates/documentation_page.html
david-swift 294a6683b5
Some checks are pending
Publish / publish (push) Waiting to run
Improve structure in HTML templates
2025-04-11 17:54:23 +02:00

35 lines
761 B
HTML

{% extends "base.html" %}
{% block classes %}
expand-main
{% endblock classes %}
{% 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) -%}
<div id="docs-container">
{% include "partials/docs_toc.html" %}
<article>
{% include "partials/article_content.html" %}
</article>
<div id="toc-hidden">
{% include "partials/docs_toc.html" %}
</div>
</div>
{%- if page.extra.comments.id -%}
{%- include "partials/comments.html" -%}
{%- endif -%}
{% endblock content %}