diff options
Diffstat (limited to 'templates/layouts/list.html')
-rw-r--r-- | templates/layouts/list.html | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 4831228..c0045c0 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
@@ -5,12 +5,19 @@ | |||
5 | $body$ | 5 | $body$ |
6 | </div> | 6 | </div> |
7 | 7 | ||
8 | <div class="c-post-list"> | 8 | <div class="c-card-list"> |
9 | <div class="c-post-list__category-content"> | 9 | <div class="c-card-list__category-content$if(list_grid)$ c-card-list__category-content--grid$endif$"> |
10 | $if(show_dates)$ | 10 | $if(show_dates)$ |
11 | $for(pages.desc_date)$ | 11 | $for(pages.desc_date)$ |
12 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 12 | <a href="$it.url.rel$" class="c-card-list__card c-card"> |
13 | <div class="c-card__block c-card__block--indicator"></div> | 13 | $if(show_read_indicators)$ |
14 | <div class="c-card__block c-card__block--indicator"></div> | ||
15 | $endif$ | ||
16 | $if(icon)$ | ||
17 | <svg class="c-card__block o-icon"> | ||
18 | <use href="/symbols.svg#icon-$icon$"></use> | ||
19 | </svg> | ||
20 | $endif$ | ||
14 | <div class="c-card__block c-card__block--main"> | 21 | <div class="c-card__block c-card__block--main"> |
15 | $it.title$ | 22 | $it.title$ |
16 | </div> | 23 | </div> |
@@ -26,8 +33,15 @@ $body$ | |||
26 | $endfor$ | 33 | $endfor$ |
27 | $else$ | 34 | $else$ |
28 | $for(pages.asc_title)$ | 35 | $for(pages.asc_title)$ |
29 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 36 | <a href="$it.url.rel$" class="c-card-list__card c-card"> |
30 | <div class="c-card__block c-card__block--indicator"></div> | 37 | $if(show_read_indicators)$ |
38 | <div class="c-card__block c-card__block--indicator"></div> | ||
39 | $endif$ | ||
40 | $if(icon)$ | ||
41 | <svg class="c-card__block o-icon"> | ||
42 | <use href="/symbols.svg#icon-$icon$"></use> | ||
43 | </svg> | ||
44 | $endif$ | ||
31 | <div class="c-card__block c-card__block--main"> | 45 | <div class="c-card__block c-card__block--main"> |
32 | $it.title$ | 46 | $it.title$ |
33 | </div> | 47 | </div> |