diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/templates/base.html b/templates/base.html index 420f40e..6573dc5 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -44,23 +44,25 @@ | |||
| 44 | </head> | 44 | </head> |
| 45 | 45 | ||
| 46 | <body> | 46 | <body> |
| 47 | <nav class="c-header"> | 47 | <header class="c-header"> |
| 48 | <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> | 48 | <nav class="c-header__nav"> |
| 49 | <svg class="c-header__icon"> | 49 | <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> |
| 50 | <use href="/symbols.svg#logo"></use> | 50 | <svg class="c-header__icon"> |
| 51 | </svg> | 51 | <use href="/symbols.svg#logo"></use> |
| 52 | </a> | 52 | </svg> |
| 53 | $if(namespace.root.is_index)$ | 53 | </a> |
| 54 | $else$ | 54 | $if(namespace.root.is_index)$ |
| 55 | $for(menus.main.items)$ | 55 | $else$ |
| 56 | $if(it.active)$ | 56 | $for(menus.main.items)$ |
| 57 | <a class="c-header__item" href="$it.url$"> | 57 | $if(it.active)$ |
| 58 | $it.label$ | 58 | <a class="c-header__item" href="$it.url$"> |
| 59 | </a> | 59 | $it.label$ |
| 60 | $endif$ | 60 | </a> |
| 61 | $endfor$ | 61 | $endif$ |
| 62 | $endif$ | 62 | $endfor$ |
| 63 | </nav> | 63 | $endif$ |
| 64 | </nav> | ||
| 65 | </header> | ||
| 64 | 66 | ||
| 65 | <main> | 67 | <main> |
| 66 | $if(namespace.root.is_index)$ | 68 | $if(namespace.root.is_index)$ |
