[IMP] doc: define a layout for 'category index' pages

These pages were indexed by google but did not have any layout defined.
This commit is contained in:
Stefano Rigano
2016-08-11 16:26:49 +02:00
committed by Martin Trigaux
parent 8b9f1600d0
commit d1663f06e7
3 changed files with 18 additions and 2 deletions
+2 -2
View File
@@ -230,7 +230,7 @@
<main class="container-fluid {{ ' '.join(classes) }}">
{% if pagename != master_doc %}
<div class="row">
{% if 'has-toc' not in meta %}
{% if 'has-toc' not in meta and not (pagename in toc) %}
<aside>
<div class="navbar-aside text-center">
{{ toc }}
@@ -242,7 +242,7 @@
</div>
</aside>
{% endif %}
<article class="doc-body {% if 'has-toc' in meta %}doc-toc{% endif %}">
<article class="doc-body {% if 'has-toc' in meta %}doc-toc{% endif %}{% if pagename in toc%}index-category{% endif %}">
{% endif %}
{% block body %} {% endblock %}
{% if pagename != master_doc %}</article>