diff options
author | Volpeon <git@volpeon.ink> | 2021-11-15 17:14:27 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-15 17:14:27 +0100 |
commit | a2aa0c0a6261850800d97e735adad9b02236f1e3 (patch) | |
tree | 91ad486c0ccdbb1e1cd92a27dcfad504bcce7fca /templates/base.html | |
parent | Move ASCII fox to partials (diff) | |
download | volpeon.ink-a2aa0c0a6261850800d97e735adad9b02236f1e3.tar.gz volpeon.ink-a2aa0c0a6261850800d97e735adad9b02236f1e3.tar.bz2 volpeon.ink-a2aa0c0a6261850800d97e735adad9b02236f1e3.zip |
Various adjustments
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/templates/base.html b/templates/base.html index adc5466..64e6b00 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -53,16 +53,13 @@ | |||
53 | <use href="/symbols.svg#logo"></use> | 53 | <use href="/symbols.svg#logo"></use> |
54 | </svg> | 54 | </svg> |
55 | </a> | 55 | </a> |
56 | $if(namespace.root.is_index)$ | 56 | $for(menus.main.items)$ |
57 | $else$ | 57 | $if(it.active)$ |
58 | $for(menus.main.items)$ | 58 | <a class="c-header__item" href="$it.url$"> |
59 | $if(it.active)$ | 59 | $it.label$ |
60 | <a class="c-header__item" href="$it.url$"> | 60 | </a> |
61 | $it.label$ | 61 | $endif$ |
62 | </a> | 62 | $endfor$ |
63 | $endif$ | ||
64 | $endfor$ | ||
65 | $endif$ | ||
66 | </nav> | 63 | </nav> |
67 | 64 | ||
68 | <main> | 65 | <main> |