diff options
author | Volpeon <git@volpeon.ink> | 2021-06-14 19:10:05 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-06-14 19:10:05 +0200 |
commit | 8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da (patch) | |
tree | f921fe76fc3acec99a3e1f628399b1ea1cc8ba6b /templates/layouts/categorized_list.html | |
parent | Restructured some variables (diff) | |
download | volpeon.ink-8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da.tar.gz volpeon.ink-8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da.tar.bz2 volpeon.ink-8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da.zip |
Simplified card component code
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r-- | templates/layouts/categorized_list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 03d05e0..00ea383 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -16,10 +16,10 @@ $body$ | |||
16 | $if(pages.asc_title.show_dates)$ | 16 | $if(pages.asc_title.show_dates)$ |
17 | $for(it.pages.desc_date)$ | 17 | $for(it.pages.desc_date)$ |
18 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> | 18 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> |
19 | <div class="c-card__content"> | 19 | <div class="c-card__block c-card__block--main"> |
20 | $it.title$ | 20 | $it.title$ |
21 | </div> | 21 | </div> |
22 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__content u-fs0"> | 22 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> |
23 | <small class="u-dn@sm-hi"> | 23 | <small class="u-dn@sm-hi"> |
24 | $it.date.short$ | 24 | $it.date.short$ |
25 | </small> | 25 | </small> |
@@ -32,7 +32,7 @@ $body$ | |||
32 | $else$ | 32 | $else$ |
33 | $for(it.pages.asc_title)$ | 33 | $for(it.pages.asc_title)$ |
34 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> | 34 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> |
35 | <div class="c-card__content"> | 35 | <div class="c-card__block c-card__block--main"> |
36 | $it.title$ | 36 | $it.title$ |
37 | </div> | 37 | </div> |
38 | </a> | 38 | </a> |