diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/templates/base.html b/templates/base.html index adc5466..64e6b00 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -53,16 +53,13 @@ | |||
53 | <use href="/symbols.svg#logo"></use> | 53 | <use href="/symbols.svg#logo"></use> |
54 | </svg> | 54 | </svg> |
55 | </a> | 55 | </a> |
56 | $if(namespace.root.is_index)$ | 56 | $for(menus.main.items)$ |
57 | $else$ | 57 | $if(it.active)$ |
58 | $for(menus.main.items)$ | 58 | <a class="c-header__item" href="$it.url$"> |
59 | $if(it.active)$ | 59 | $it.label$ |
60 | <a class="c-header__item" href="$it.url$"> | 60 | </a> |
61 | $it.label$ | 61 | $endif$ |
62 | </a> | 62 | $endfor$ |
63 | $endif$ | ||
64 | $endfor$ | ||
65 | $endif$ | ||
66 | </nav> | 63 | </nav> |
67 | 64 | ||
68 | <main> | 65 | <main> |