Navigation: Films -> Open Projects
And show navigation when in the Blog
This commit is contained in:
parent
186ba167f1
commit
d347ddac2c
@ -1,13 +1,18 @@
|
||||
| {% extends 'layout.html' %}
|
||||
| {% import 'nodes/custom/blog/_macros.html' as blogmacros %}
|
||||
| {% from 'projects/_macros.html' import render_secondary_navigation %}
|
||||
| {% from '_macros/_navigation.html' import navigation_homepage %}
|
||||
|
||||
| {% set title = 'blog' %}
|
||||
|
||||
| {% block page_title %}Blog{% endblock%}
|
||||
|
||||
| {% block navigation_tabs %}
|
||||
| {% if project.url == 'blender-cloud' %}
|
||||
| {{ navigation_homepage(title) }}
|
||||
| {% else %}
|
||||
| {{ render_secondary_navigation(project, navigation_links, title) }}
|
||||
| {% endif %}
|
||||
| {% endblock navigation_tabs %}
|
||||
|
||||
| {% block body %}
|
||||
|
@ -17,7 +17,11 @@ include ../mixins/components
|
||||
| {% if not project.is_private %}
|
||||
li.text-capitalize
|
||||
a.nav-link.text-muted.px-0(href="{{ category_url }}")
|
||||
| {% if project.category == 'film' %}
|
||||
span Open Projects
|
||||
| {% else %}
|
||||
span {{ project.category }}{% if project.category != 'assets' %}s{% endif %}
|
||||
| {% endif %}
|
||||
li.px-1
|
||||
i.pi-angle-right
|
||||
| {% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user