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:
Pablo Vazquez 2019-03-29 15:36:54 +01:00
parent ad1a55c5d5
commit da955ce4af
2 changed files with 1 additions and 3 deletions

View File

@ -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 %}

View File

@ -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 %}