2021-09-20 06:52:51 +00:00
|
|
|
<div id="content-wrapper" class="{% if single_page %}col-md-10{% else %}col-md-8{% endif %} mt-5 p-2 p-md-4">
|
|
|
|
<div id="content">
|
2020-03-30 08:25:29 +00:00
|
|
|
{% if not single_page %}
|
2020-05-08 21:29:44 +00:00
|
|
|
{% set ancestors = page.ancestors|reverse|list %}
|
|
|
|
{% if page.is_index %}
|
|
|
|
{% set ancestors = ancestors[:-1] %}
|
|
|
|
{% endif %}
|
|
|
|
{% if ancestors %}
|
|
|
|
{% set ancestor_ns = namespace(level=ancestors|length) %}
|
2020-07-02 15:17:50 +00:00
|
|
|
<nav class="text-muted" aria-label="breadcrumb">
|
|
|
|
<ol class="breadcrumb bg-transparent p-0">
|
|
|
|
{% for ancestor in ancestors %}
|
|
|
|
{% set ancestor_title = ancestor.title.strip() %}
|
|
|
|
{% if ancestor_title.endswith('|hidden-folder') %}
|
|
|
|
{% set ancestor_title = ancestor_title[:-14] %}
|
|
|
|
{% endif %}
|
|
|
|
<li class="breadcrumb-item"><a href="{{ '../' * ancestor_ns.level }}" class="text-reset">{{ ancestor_title }}</a>
|
|
|
|
{% set ancestor_ns.level = ancestor_ns.level - 1 %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
|
|
|
</nav>
|
2020-05-08 21:29:44 +00:00
|
|
|
{% endif %}
|
2020-05-08 16:46:19 +00:00
|
|
|
|
2020-05-08 08:04:09 +00:00
|
|
|
{% include "templates/docs/machine-translated.html" %}
|
|
|
|
{{ page.content|adjust_markdown_html }}
|
2020-03-30 08:25:29 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if single_page and page.content %}
|
2020-04-09 20:50:39 +00:00
|
|
|
<script type="text/javascript" src="content.js?{{ config.extra.rev_short }}"></script>
|
2020-03-30 08:25:29 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
2020-05-08 08:04:09 +00:00
|
|
|
{% include "templates/docs/footer.html" %}
|
2020-03-30 08:25:29 +00:00
|
|
|
</div>
|
2020-04-09 20:50:39 +00:00
|
|
|
{% if single_page and page.content %}
|
|
|
|
<!-- BREAK -->
|
|
|
|
(function() {
|
2020-05-19 15:47:00 +00:00
|
|
|
{% for chunk in page.content|adjust_markdown_html|chunks %}
|
2020-04-09 20:50:39 +00:00
|
|
|
document.write({{ chunk|tojson|safe }});
|
|
|
|
{% endfor %}
|
|
|
|
})();
|
|
|
|
<!-- BREAK -->
|
|
|
|
{% endif %}
|