diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/base.html b/templates/base.html index 49b2285..98e6da2 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -28,21 +28,19 @@ | |||
28 | 28 | ||
29 | <title>$if(section.is_index)$$else$$title$ – $endif$$site.title$</title> | 29 | <title>$if(section.is_index)$$else$$title$ – $endif$$site.title$</title> |
30 | 30 | ||
31 | <link rel="preload" href="/style.css" as="style" /> | ||
32 | <link rel="preload" href="/iosevka-term-ss09-regular.woff2" as="font" type="font/woff2" crossorigin /> | ||
33 | <link rel="preload" href="/iosevka-term-ss09-bold.woff2" as="font" type="font/woff2" crossorigin /> | ||
34 | |||
35 | <link rel="stylesheet" href="/style.css" /> | 31 | <link rel="stylesheet" href="/style.css" /> |
36 | </head> | 32 | </head> |
37 | 33 | ||
38 | <body> | 34 | <body> |
39 | <nav class="c-nav"> | 35 | <nav class="c-nav l-container l-container--content"> |
40 | <div class="c-nav__items l-container"> | 36 | <a class="c-nav__logo" href="/" title="$site.title$"> |
41 | <a class="c-nav__logo" href="/" title="$site.title$">$site.logo$</a> | 37 | <svg class="c-nav__logo-symbol"> |
42 | $for(menus.main.items)$ | 38 | <use xlink:href="#logo" href="#logo"></use> |
43 | <a class="c-nav__item $if(it.active)$c-nav__item--active$endif$" href="$it.url$">$it.label$</a> | 39 | </svg> |
44 | $endfor$ | 40 | </a> |
45 | </div> | 41 | $for(menus.main.items)$ |
42 | <a class="c-nav__item $if(it.active)$c-nav__item--active$endif$" href="$it.url$">$it.label$</a> | ||
43 | $endfor$ | ||
46 | </nav> | 44 | </nav> |
47 | 45 | ||
48 | $if(section.is_index)$ | 46 | $if(section.is_index)$ |
@@ -52,6 +50,8 @@ ${layouts/categorized_list()} | |||
52 | $else$ | 50 | $else$ |
53 | ${layouts/page()} | 51 | ${layouts/page()} |
54 | $endif$ | 52 | $endif$ |
53 | |||
54 | ${symbols.svg()} | ||
55 | </body> | 55 | </body> |
56 | 56 | ||
57 | </html> | 57 | </html> |