diff options
author | Volpeon <git@volpeon.ink> | 2022-06-15 11:45:31 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-15 11:45:31 +0200 |
commit | cec2368214f7184ee0f583ce4f5201c3ecaa3fc9 (patch) | |
tree | 9ca07a24baeab0c1e8046aef16e4a6f9a2a326b7 /templates | |
parent | Update (diff) | |
download | volpeon.ink-cec2368214f7184ee0f583ce4f5201c3ecaa3fc9.tar.gz volpeon.ink-cec2368214f7184ee0f583ce4f5201c3ecaa3fc9.tar.bz2 volpeon.ink-cec2368214f7184ee0f583ce4f5201c3ecaa3fc9.zip |
Update
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/layouts/categorized_list.html | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/templates/base.html b/templates/base.html index 4319d43..49355b7 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -47,7 +47,7 @@ | |||
47 | </head> | 47 | </head> |
48 | 48 | ||
49 | <body> | 49 | <body> |
50 | <nav class="c-header"> | 50 | <nav class="c-header" label="Mainmenu"> |
51 | <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> | 51 | <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> |
52 | <svg class="c-header__icon" width="1em" height="1em" aria-label="Logo"> | 52 | <svg class="c-header__icon" width="1em" height="1em" aria-label="Logo"> |
53 | <use href="/symbols.svg#logo"></use> | 53 | <use href="/symbols.svg#logo"></use> |
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index dc18407..7667615 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -6,7 +6,7 @@ $body$ | |||
6 | </header> | 6 | </header> |
7 | 7 | ||
8 | $if(notoc)$$else$ | 8 | $if(notoc)$$else$ |
9 | <nav class="c-hnav s-invisible-links"> | 9 | <nav class="c-hnav s-invisible-links" aria-label="Sections"> |
10 | <h2 class="u-mt-0">Jump to</h2> | 10 | <h2 class="u-mt-0">Jump to</h2> |
11 | $for(list)$ | 11 | $for(list)$ |
12 | <a class="c-hnav__item" href="#$it.slug$">$it.title$</a> | 12 | <a class="c-hnav__item" href="#$it.slug$">$it.title$</a> |
@@ -44,16 +44,10 @@ $body$ | |||
44 | </div> | 44 | </div> |
45 | $if(it.omitted)$ | 45 | $if(it.omitted)$ |
46 | <footer class="l-card-list__footer"> | 46 | <footer class="l-card-list__footer"> |
47 | <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$"> | 47 | <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$" aria-label="$it.omitted$ more items in '$it.title$'"> |
48 | $it.omitted$ more items <span class="u-ml-10">→</span> | 48 | $it.omitted$ more items <span class="u-ml-10">→</span> |
49 | </a> | 49 | </a> |
50 | </footer> | 50 | </footer> |
51 | $elseif(it.button)$ | ||
52 | <footer class="l-card-list__footer"> | ||
53 | <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$"> | ||
54 | View section <span class="u-ml-10">→</span> | ||
55 | </a> | ||
56 | </footer> | ||
57 | $endif$ | 51 | $endif$ |
58 | </section> | 52 | </section> |
59 | $endfor$ | 53 | $endfor$ |