1 |
commit: 0daf83ba7ed8fabe9ba1d3b98aca14974ea559e7 |
2 |
Author: Alex Legler <alex <AT> a3li <DOT> li> |
3 |
AuthorDate: Thu Aug 25 17:00:12 2016 +0000 |
4 |
Commit: Alex Legler <a3li <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 17:00:12 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=0daf83ba |
7 |
|
8 |
Adapt secondary nav display logic for Jekyll 3 |
9 |
|
10 |
_includes/layout/header.html | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/_includes/layout/header.html b/_includes/layout/header.html |
14 |
index fbb211a..433530f 100644 |
15 |
--- a/_includes/layout/header.html |
16 |
+++ b/_includes/layout/header.html |
17 |
@@ -58,7 +58,7 @@ |
18 |
</div> |
19 |
</div> |
20 |
</nav> |
21 |
- {% if page.nav2-display == true %} |
22 |
+ {% if page.nav2-display == true or layout.nav2-display == true %} |
23 |
<nav class="navbar navbar-grey navbar-stick" role="navigation"> |
24 |
<div class="container"> |
25 |
<div class="row"> |
26 |
@@ -79,4 +79,4 @@ |
27 |
</div> |
28 |
</nav> |
29 |
{% endif %} |
30 |
-</header> |
31 |
\ No newline at end of file |
32 |
+</header> |