doc/themes/yunohost-docs/templates/docs.html.twig

21 lines
691 B
Twig
Raw Normal View History

{% set body_classes = body_classes ~ ' ' ~ page.header.body_classes %}
{% extends 'partials/base.html.twig' %}
{% set tags = page.taxonomy.tag %}
{% if tags %}
{% set progress = page.collection({'items':{'@taxonomy':{'category': 'docs', 'tag': tags}},'order': {'by': 'default', 'dir': 'asc'}}) %}
{% else %}
{% set progress = page.collection({'items':{'@taxonomy':{'category': 'docs'}},'order': {'by': 'default', 'dir': 'asc'}}) %}
{% endif %}
{% block content %}
{% include 'partials/toc.html.twig' %}
{% include 'partials/page.html.twig' %}
{% if github_config.note == true %}
{% include 'partials/github-note.html.twig' %}
{% endif %}
{% endblock %}