Landing: Set project title as active
This commit is contained in:
@@ -23,7 +23,7 @@ include ../mixins/components
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
+nav-secondary-link(
|
+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)}}")
|
href="{{url_for('projects.view', project_url=project.url, _external=True)}}")
|
||||||
span {{ project.name }}
|
span {{ project.name }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
Reference in New Issue
Block a user