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