diff options
| author | Volpeon <git@volpeon.ink> | 2021-11-10 21:20:58 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-11-10 21:20:58 +0100 |
| commit | 8177471f70a517e78b4470cd01c375ed30121102 (patch) | |
| tree | 9a3373040e70d71463ea87796578489d6aabc8d8 /templates/base.html | |
| parent | Update vlpn (diff) | |
| download | volpeon.ink-8177471f70a517e78b4470cd01c375ed30121102.tar.gz volpeon.ink-8177471f70a517e78b4470cd01c375ed30121102.tar.bz2 volpeon.ink-8177471f70a517e78b4470cd01c375ed30121102.zip | |
Simplified home page
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/templates/base.html b/templates/base.html index 5542401..554651d 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -45,21 +45,17 @@ | |||
| 45 | 45 | ||
| 46 | <body> | 46 | <body> |
| 47 | <nav class="c-header"> | 47 | <nav class="c-header"> |
| 48 | <a class="c-outer-button c-outer-button--inverted" href="/" title="$site.title$"> | 48 | <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> |
| 49 | <span class="c-outer-button__icon"> | 49 | <svg class="c-header__icon"> |
| 50 | <svg class="c-outer-button__icon-symbol"> | 50 | <use href="/symbols.svg#logo"></use> |
| 51 | <use href="/symbols.svg#logo"></use> | 51 | </svg> |
| 52 | </svg> | ||
| 53 | </span> | ||
| 54 | </a> | 52 | </a> |
| 55 | $if(namespace.root.is_index)$ | 53 | $if(namespace.root.is_index)$ |
| 56 | $else$ | 54 | $else$ |
| 57 | $for(menus.main.items)$ | 55 | $for(menus.main.items)$ |
| 58 | $if(it.active)$ | 56 | $if(it.active)$ |
| 59 | <a class="c-outer-button" href="$it.url$"> | 57 | <a class="c-header__item" href="$it.url$"> |
| 60 | <span class="c-outer-button__content"> | 58 | $it.label$ |
| 61 | $it.label$ | ||
| 62 | </span> | ||
| 63 | </a> | 59 | </a> |
| 64 | $endif$ | 60 | $endif$ |
| 65 | $endfor$ | 61 | $endfor$ |
| @@ -82,14 +78,6 @@ ${layouts/page()} | |||
| 82 | <pre class="c-footer__ascii u-dn@sm-lo">${layouts/ascii_fox()}</pre> | 78 | <pre class="c-footer__ascii u-dn@sm-lo">${layouts/ascii_fox()}</pre> |
| 83 | <pre class="c-footer__ascii u-dn@sm-hi">${layouts/ascii_fox_small()}</pre> | 79 | <pre class="c-footer__ascii u-dn@sm-hi">${layouts/ascii_fox_small()}</pre> |
| 84 | </div> | 80 | </div> |
| 85 | |||
| 86 | <a class="c-outer-button c-outer-button--scroll-top" href="#" title="To the top"> | ||
| 87 | <span class="c-outer-button__icon"> | ||
| 88 | <svg class="c-outer-button__icon-symbol o-icon"> | ||
| 89 | <use href="/symbols.svg#icon-arrow-up"></use> | ||
| 90 | </svg> | ||
| 91 | </span> | ||
| 92 | </a> | ||
| 93 | </footer> | 81 | </footer> |
| 94 | </main> | 82 | </main> |
| 95 | </body> | 83 | </body> |
