diff options
author | Volpeon <git@volpeon.ink> | 2021-11-11 09:14:38 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-11 09:14:38 +0100 |
commit | 19d3eb0bdfe505715d3b9f62a3cf8d340291a144 (patch) | |
tree | c5fc53d5d7f211e774e43e3ec217bd0335b56ed4 /templates/layouts/categorized_list.html | |
parent | Make footer sticky again, fix blobfox and bunhd URLs (diff) | |
download | volpeon.ink-19d3eb0bdfe505715d3b9f62a3cf8d340291a144.tar.gz volpeon.ink-19d3eb0bdfe505715d3b9f62a3cf8d340291a144.tar.bz2 volpeon.ink-19d3eb0bdfe505715d3b9f62a3cf8d340291a144.zip |
Show profiles on home page again; general updates
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r-- | templates/layouts/categorized_list.html | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 8f8b1ae..fa0f000 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -5,17 +5,24 @@ | |||
5 | $body$ | 5 | $body$ |
6 | </div> | 6 | </div> |
7 | 7 | ||
8 | <div class="c-post-list"> | 8 | <div class="c-card-list"> |
9 | $for(pages.asc_title)$ | 9 | $for(pages.asc_title)$ |
10 | $if(it.pages)$ | 10 | $if(it.pages)$ |
11 | <h2 class="c-post-list__category-header"> | 11 | <h2 class="c-card-list__category-header"> |
12 | <a href="$it.url.rel$">$it.title$</a> | 12 | <a href="$it.url.rel$">$it.title$</a> |
13 | </h2> | 13 | </h2> |
14 | <div class="c-post-list__category-content"> | 14 | <div class="c-card-list__category-content$if(pages.asc_title.list_grid)$ c-card-list__category-content--grid$endif$"> |
15 | $if(pages.asc_title.show_dates)$ | 15 | $if(pages.asc_title.show_dates)$ |
16 | $for(it.pages.desc_date)$ | 16 | $for(it.pages.desc_date)$ |
17 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 17 | <a href="$it.url.rel$" class="c-card-list__card c-card"> |
18 | <div class="c-card__block c-card__block--indicator"></div> | 18 | $if(pages.asc_title.show_read_indicators)$ |
19 | <div class="c-card__block c-card__block--indicator"></div> | ||
20 | $endif$ | ||
21 | $if(pages.asc_title.icon)$ | ||
22 | <svg class="c-card__block o-icon"> | ||
23 | <use href="/symbols.svg#icon-$pages.asc_title.icon$"></use> | ||
24 | </svg> | ||
25 | $endif$ | ||
19 | <div class="c-card__block c-card__block--main"> | 26 | <div class="c-card__block c-card__block--main"> |
20 | $it.title$ | 27 | $it.title$ |
21 | </div> | 28 | </div> |
@@ -31,8 +38,15 @@ $body$ | |||
31 | $endfor$ | 38 | $endfor$ |
32 | $else$ | 39 | $else$ |
33 | $for(it.pages.asc_title)$ | 40 | $for(it.pages.asc_title)$ |
34 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 41 | <a href="$it.url.rel$" class="c-card-list__card c-card"> |
35 | <div class="c-card__block c-card__block--indicator"></div> | 42 | $if(pages.asc_title.show_read_indicators)$ |
43 | <div class="c-card__block c-card__block--indicator"></div> | ||
44 | $endif$ | ||
45 | $if(pages.asc_title.icon)$ | ||
46 | <svg class="c-card__block o-icon"> | ||
47 | <use href="/symbols.svg#icon-$pages.asc_title.icon$"></use> | ||
48 | </svg> | ||
49 | $endif$ | ||
36 | <div class="c-card__block c-card__block--main"> | 50 | <div class="c-card__block c-card__block--main"> |
37 | $it.title$ | 51 | $it.title$ |
38 | </div> | 52 | </div> |