diff options
| author | Volpeon <git@volpeon.ink> | 2022-06-10 14:31:33 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-06-10 14:31:33 +0200 |
| commit | 11947869e44d423171cfd3c6c76be0fbbbfb5da4 (patch) | |
| tree | 55c9679586fcfa552e197cb3658a80957e3efd2c /templates | |
| parent | Merge branch 'master' of git.vulpes.one:volpeon.ink (diff) | |
| download | volpeon.ink-11947869e44d423171cfd3c6c76be0fbbbfb5da4.tar.gz volpeon.ink-11947869e44d423171cfd3c6c76be0fbbbfb5da4.tar.bz2 volpeon.ink-11947869e44d423171cfd3c6c76be0fbbbfb5da4.zip | |
Update
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/layouts/categorized_list.html | 16 | ||||
| -rw-r--r-- | templates/partials/gallery_card.html | 2 |
2 files changed, 14 insertions, 4 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> |
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index dc6a141..aa641da 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html | |||
| @@ -11,7 +11,7 @@ $if(it.thumbnail)$ | |||
| 11 | /> | 11 | /> |
| 12 | </div> | 12 | </div> |
| 13 | </div> | 13 | </div> |
| 14 | <div class="c-card__row"> | 14 | <div class="c-card__row c-card__row--hidden"> |
| 15 | $if(it.indicator)$ | 15 | $if(it.indicator)$ |
| 16 | <div class="c-card__block c-card__block--indicator"></div> | 16 | <div class="c-card__block c-card__block--indicator"></div> |
| 17 | $endif$ | 17 | $endif$ |
