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/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/list.html')
-rw-r--r-- | templates/layouts/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 2d32357..9fc6ebe 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
@@ -11,10 +11,10 @@ $body$ | |||
11 | $if(show_dates)$ | 11 | $if(show_dates)$ |
12 | $for(pages.desc_date)$ | 12 | $for(pages.desc_date)$ |
13 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> | 13 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> |
14 | <div class="c-card__content"> | 14 | <div class="c-card__block c-card__block--main"> |
15 | $it.title$ | 15 | $it.title$ |
16 | </div> | 16 | </div> |
17 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__content u-fs0"> | 17 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> |
18 | <small class="u-dn@sm-hi"> | 18 | <small class="u-dn@sm-hi"> |
19 | $it.date.short$ | 19 | $it.date.short$ |
20 | </small> | 20 | </small> |
@@ -27,7 +27,7 @@ $body$ | |||
27 | $else$ | 27 | $else$ |
28 | $for(pages.asc_title)$ | 28 | $for(pages.asc_title)$ |
29 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> | 29 | <a href="$it.url.rel$" class="c-post-list__post c-card c-card--mark-visited"> |
30 | <div class="c-card__content"> | 30 | <div class="c-card__block c-card__block--main"> |
31 | $it.title$ | 31 | $it.title$ |
32 | </div> | 32 | </div> |
33 | </a> | 33 | </a> |