From 5c019e8d1c195cd4d25b55378f382d3b1be3b235 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 19 Sep 2018 15:50:23 +0200 Subject: [PATCH] Landing: Set project title as active --- src/templates/projects/_macros.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/projects/_macros.pug b/src/templates/projects/_macros.pug index 344417b8..32671315 100644 --- a/src/templates/projects/_macros.pug +++ b/src/templates/projects/_macros.pug @@ -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 %}