diff options
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r-- | templates/layouts/categorized_list.html | 10 |
1 files changed, 2 insertions, 8 deletions
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$ |