Navigation: Highlight current page in the navbar
This commit is contained in:
parent
601b94e23a
commit
0aeae2cabd
@ -29,8 +29,10 @@ include ../mixins/components
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% for link in navigation_links %}
|
| {% for link in navigation_links %}
|
||||||
+nav-secondary-link(href="{{ link['url'] }}")
|
+nav-secondary-link(
|
||||||
| {{ link['label'] }}
|
href="{{ link['url'] }}",
|
||||||
|
class="{% if link['slug'] == title %}active{% endif %}")
|
||||||
|
span {{ link['label'] }}
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
|
|
||||||
| {% if project.nodes_featured %}
|
| {% if project.nodes_featured %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user