diff options
| author | Volpeon <git@volpeon.ink> | 2021-11-10 21:20:58 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-11-10 21:20:58 +0100 |
| commit | 8177471f70a517e78b4470cd01c375ed30121102 (patch) | |
| tree | 9a3373040e70d71463ea87796578489d6aabc8d8 /templates/layouts/categorized_list.html | |
| parent | Update vlpn (diff) | |
| download | volpeon.ink-8177471f70a517e78b4470cd01c375ed30121102.tar.gz volpeon.ink-8177471f70a517e78b4470cd01c375ed30121102.tar.bz2 volpeon.ink-8177471f70a517e78b4470cd01c375ed30121102.zip | |
Simplified home page
Diffstat (limited to 'templates/layouts/categorized_list.html')
| -rw-r--r-- | templates/layouts/categorized_list.html | 84 |
1 files changed, 41 insertions, 43 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index f841fff..d5dafaf 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
| @@ -1,49 +1,47 @@ | |||
| 1 | <section class="l-section l-section--no-header"> | 1 | <section class="l-container l-container--pad-x l-container--pad-y l-container--content"> |
| 2 | <div class="l-container l-container--pad-x l-container--pad-y l-container--content"> | 2 | <div class="s-headlines s-body s-colored-links"> |
| 3 | <div class="s-headlines s-colored-links"> | 3 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> |
| 4 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> | ||
| 5 | 4 | ||
| 6 | $body$ | 5 | $body$ |
| 7 | </div> | 6 | </div> |
| 8 | 7 | ||
| 9 | <div class="c-post-list"> | 8 | <div class="c-post-list"> |
| 10 | $for(pages.asc_title)$ | 9 | $for(pages.asc_title)$ |
| 11 | $if(it.pages)$ | 10 | $if(it.pages)$ |
| 12 | <h2 class="c-post-list__category-header"> | 11 | <h2 class="c-post-list__category-header"> |
| 13 | <a href="$it.url.rel$">$it.title$</a> | 12 | <a href="$it.url.rel$">$it.title$</a> |
| 14 | </h2> | 13 | </h2> |
| 15 | <div class="c-post-list__category-content"> | 14 | <div class="c-post-list__category-content"> |
| 16 | $if(pages.asc_title.show_dates)$ | 15 | $if(pages.asc_title.show_dates)$ |
| 17 | $for(it.pages.desc_date)$ | 16 | $for(it.pages.desc_date)$ |
| 18 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 17 | <a href="$it.url.rel$" class="c-post-list__post c-card"> |
| 19 | <div class="c-card__block c-card__block--indicator"></div> | 18 | <div class="c-card__block c-card__block--indicator"></div> |
| 20 | <div class="c-card__block c-card__block--main"> | 19 | <div class="c-card__block c-card__block--main"> |
| 21 | $it.title$ | 20 | $it.title$ |
| 22 | </div> | 21 | </div> |
| 23 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> | 22 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> |
| 24 | <small class="u-dn@sm-hi"> | 23 | <small class="u-dn@sm-hi"> |
| 25 | $it.date.short$ | 24 | $it.date.short$ |
| 26 | </small> | 25 | </small> |
| 27 | <small class="u-dn@sm-lo"> | 26 | <small class="u-dn@sm-lo"> |
| 28 | $it.date.long$ | 27 | $it.date.long$ |
| 29 | </small> | 28 | </small> |
| 30 | </time> | 29 | </time> |
| 31 | </a> | 30 | </a> |
| 32 | $endfor$ | 31 | $endfor$ |
| 33 | $else$ | 32 | $else$ |
| 34 | $for(it.pages.asc_title)$ | 33 | $for(it.pages.asc_title)$ |
| 35 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 34 | <a href="$it.url.rel$" class="c-post-list__post c-card"> |
| 36 | <div class="c-card__block c-card__block--indicator"></div> | 35 | <div class="c-card__block c-card__block--indicator"></div> |
| 37 | <div class="c-card__block c-card__block--main"> | 36 | <div class="c-card__block c-card__block--main"> |
| 38 | $it.title$ | 37 | $it.title$ |
| 39 | </div> | 38 | </div> |
| 40 | </a> | 39 | </a> |
| 41 | $endfor$ | 40 | $endfor$ |
| 42 | $endif$ | 41 | $endif$ |
| 43 | </div> | 42 | </div> |
| 44 | $endif$ | 43 | $endif$ |
| 45 | $endfor$ | 44 | $endfor$ |
| 46 | </div> | ||
| 47 | </div> | 45 | </div> |
| 48 | </section> | 46 | </section> |
| 49 | 47 | ||
