diff options
author | Volpeon <git@volpeon.ink> | 2021-03-19 22:10:55 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-03-19 22:10:55 +0100 |
commit | c7eb8d7f6105a5a15a1f45b5e2be3c2d1e2204bd (patch) | |
tree | 4792d0f38463a15ca352118e8264a4813c05e15e /templates/base.html | |
parent | Added better font for text (Iosevka Aile) (diff) | |
download | volpeon.ink-c7eb8d7f6105a5a15a1f45b5e2be3c2d1e2204bd.tar.gz volpeon.ink-c7eb8d7f6105a5a15a1f45b5e2be3c2d1e2204bd.tar.bz2 volpeon.ink-c7eb8d7f6105a5a15a1f45b5e2be3c2d1e2204bd.zip |
WIP: Redesign
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> |