diff options
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/categorized_list.html | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 76b8af1..5e92395 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -3,12 +3,22 @@ | |||
3 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> | 3 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> |
4 | 4 | ||
5 | $body$ | 5 | $body$ |
6 | |||
6 | </header> | 7 | </header> |
7 | 8 | ||
9 | $if(notoc)$$else$ | ||
10 | <nav class="c-hnav s-invisible-links"> | ||
11 | $-- <h2 class="u-mt0">Sections:</h2> | ||
12 | $for(list)$ | ||
13 | <a href="#$it.slug$"><small>$it.title$</small></a> | ||
14 | $endfor$ | ||
15 | </nav> | ||
16 | $endif$ | ||
17 | |||
8 | <div class="l-card-list"> | 18 | <div class="l-card-list"> |
9 | $for(list)$ | 19 | $for(list)$ |
10 | <section> | 20 | <section> |
11 | <h2 class="s-invisible-links"> | 21 | <h2 class="s-invisible-links" id="$it.slug$"> |
12 | <a href="$it.url.rel$">$it.title$</a> | 22 | <a href="$it.url.rel$">$it.title$</a> |
13 | </h2> | 23 | </h2> |
14 | $if(it.description)$ | 24 | $if(it.description)$ |
@@ -23,10 +33,10 @@ $body$ | |||
23 | $it.items:partials/list_card()$ | 33 | $it.items:partials/list_card()$ |
24 | $endif$ | 34 | $endif$ |
25 | $if(it.omitted)$ | 35 | $if(it.omitted)$ |
26 | <a href="$it.url.rel$" class="l-card-list__card c-card c-card--outline"> | 36 | <a href="$it.url.rel$" class="l-card-list__card c-card"> |
27 | <div class="c-card__row"> | 37 | <div class="c-card__row"> |
28 | <div class="c-card__block c-card__block--main"> | 38 | <div class="c-card__block c-card__block--main"> |
29 | $it.omitted$ more items | 39 | $it.omitted$ more items in $it.title$ |
30 | </div> | 40 | </div> |
31 | <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> | 41 | <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> |
32 | <use href="/symbols.svg#icon-arrow-right"></use> | 42 | <use href="/symbols.svg#icon-arrow-right"></use> |