1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 15:05:26 +02:00

add page var check

This commit is contained in:
Timur Kazantaev 2019-03-31 21:05:20 +03:00
parent 9c8bcba364
commit 112314e8eb

View file

@ -5,10 +5,12 @@
{% for firstLevelPage in menu %}
<section class="docs-aside__section">
<a
{% if page._id == firstLevelPage._id%}
class="current-page docs-aside__section-title "
{% else %}
class="docs-aside__section-title "
{% if page %}}
{% if page._id == firstLevelPage._id%}
class="current-page docs-aside__section-title "
{% else %}
class="docs-aside__section-title "
{% endif %}
{% endif %}
{% if firstLevelPage.uri %}
href="/{{ firstLevelPage.uri }}"