UI Landing: No need to set 'landing' as title.
Just use the default since project landing is the same as project home.
This commit is contained in:
@@ -138,7 +138,7 @@ button.navbar-toggler(
|
||||
//- Project Name.
|
||||
| {% if project.url != 'blender-cloud' %}
|
||||
+nav-secondary-link(
|
||||
class="font-weight-bold{% if title == 'landing' %} active{% endif %} px-0",
|
||||
class="font-weight-bold{% if title == 'default' %} active{% endif %} px-0",
|
||||
href="{{url_for('projects.view', project_url=project.url, _external=True)}}")
|
||||
span {{ project.name }}
|
||||
| {% endif %}
|
||||
|
@@ -3,8 +3,6 @@
|
||||
|
||||
include ../../../../pillar/src/templates/mixins/components
|
||||
|
||||
| {% set title = 'landing' %}
|
||||
|
||||
| {% block bodyclasses %}{{ super() }} landing-home{% endblock %}
|
||||
|
||||
| {% from '_macros/_asset_list_item.html' import asset_list_item %}
|
||||
|
Reference in New Issue
Block a user