on master help sign in
fixed error in docs template
commite3394b4999c6ffaf239393c2c54f3254f8d6abc8 authorDavid Kerschner <dkerschner@hcoop.net> dateTue 16 Mar 2021, 13:07 (6 years ago) parente3eb74e
1 file changed+4−7
templates/partials/navigation-docs.html+4−7
templates/partials/navigation-docs.html+4−7
@@ -5,6 +5,8 @@
55{% if page %}
66 {% if "docs" in page.components %}
77 {% set sectionTitle = "Docs" %}
8+ {% elif "using" in page.components %}
9+ {% set directory = "using" %}
810 {% endif %}
911 {% if "updates" in page.components %}
1012 {% set sectionTitle = "Updates" %}
@@ -12,14 +14,13 @@
1214 {% if "blog" in page.components %}
1315 {% set sectionTitle = "Blog" %}
1416 {% endif %}
15− {% if "using" in page.components %}
16− {% set directory = "using" %}
17− {% endif %}
1817{% endif %}
1918
2019{% if section %}
2120 {% if "docs" in section.components %}
2221 {% set sectionTitle = "Docs" %}
22+ {% elif "using" in section.components %}
23+ {% set directory = "using" %}
2324 {% endif %}
2425 {% if "updates" in section.components %}
2526 {% set sectionTitle = "Updates" %}
@@ -27,10 +28,6 @@
2728 {% if "blog" in section.components %}
2829 {% set sectionTitle = "Blog" %}
2930 {% endif %}
30− {% if "using" in section.components %}
31− {% set directory = "using" %}
32− {% endif %}
33−
3431{% endif %}
3532
3633{% block content %}