Landing: Set project title as active

This commit is contained in:
2018-09-19 15:50:23 +02:00
parent 7796179021
commit 5c019e8d1c

View File

@@ -23,7 +23,7 @@ include ../mixins/components
| {% endif %}
+nav-secondary-link(
class="px-1 font-weight-bold",
class="px-1 font-weight-bold{% if title == 'landing' %} active{% endif %}",
href="{{url_for('projects.view', project_url=project.url, _external=True)}}")
span {{ project.name }}
| {% endif %}