From e975492869a82a3b63eb6d226f518854b75dc4dd Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 27 Mar 2019 12:53:27 +0100 Subject: [PATCH] UI Navigation: Link to project category. Without it, going from one project to another in the same category (like going from Textures library to HDRI) is cumbersome, having to go always through the homepage first. --- src/templates/_macros/_navigation.pug | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/templates/_macros/_navigation.pug b/src/templates/_macros/_navigation.pug index f461e63..b5464a1 100644 --- a/src/templates/_macros/_navigation.pug +++ b/src/templates/_macros/_navigation.pug @@ -125,6 +125,12 @@ button.navbar-toggler( i.pi-blender-cloud | {% if project.url != 'blender-cloud' %} + +nav-secondary-link( + href="{{ category_url }}", + class="px-0") + span {{ category_title }} + li(class="nav-item px-1") + i.pi-angle-right +nav-secondary-link( class="font-weight-bold{% if title == 'landing' %} active{% endif %}",