diff options
author | Volpeon <git@volpeon.ink> | 2021-11-21 08:08:14 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-21 08:08:14 +0100 |
commit | 5ede915c4990584fa0ae7747b9a5ad9a4e93acdd (patch) | |
tree | 175f4f34b47a1a122ed69a1581f7b19b65d29428 /templates/layouts | |
parent | Fix list card post icon (diff) | |
download | volpeon.ink-5ede915c4990584fa0ae7747b9a5ad9a4e93acdd.tar.gz volpeon.ink-5ede915c4990584fa0ae7747b9a5ad9a4e93acdd.tar.bz2 volpeon.ink-5ede915c4990584fa0ae7747b9a5ad9a4e93acdd.zip |
Improved list structure again
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/categorized_list.html | 10 | ||||
-rw-r--r-- | templates/layouts/list.html | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 6f06a63..7d53cbe 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -4,21 +4,21 @@ | |||
4 | $body$ | 4 | $body$ |
5 | </header> | 5 | </header> |
6 | 6 | ||
7 | <div class="c-card-list"> | 7 | <div class="l-card-list"> |
8 | $for(list)$ | 8 | $for(list)$ |
9 | <section> | 9 | <section> |
10 | <h2 class="c-card-list__title s-invisible-links"> | 10 | <h2 class="s-invisible-links"> |
11 | <a href="$it.url.rel$">$it.title$</a> | 11 | <a href="$it.url.rel$">$it.title$</a> |
12 | </h2> | 12 | </h2> |
13 | $if(it.description)$ | 13 | $if(it.description)$ |
14 | <div class="c-card-list__text s-colored-links">$it.description$</div> | 14 | <div class="s-small s-colored-links">$it.description$</div> |
15 | $endif$ | 15 | $endif$ |
16 | $if(it.grid)$ | 16 | $if(it.grid)$ |
17 | <div class="c-card-list__cards c-card-list__cards--grid"> | 17 | <div class="l-card-list__cards l-card-list__cards--grid"> |
18 | $it.items:partials/grid_card()$ | 18 | $it.items:partials/grid_card()$ |
19 | </div> | 19 | </div> |
20 | $else$ | 20 | $else$ |
21 | <div class="c-card-list__cards"> | 21 | <div class="l-card-list__cards"> |
22 | $it.items:partials/list_card()$ | 22 | $it.items:partials/list_card()$ |
23 | </div> | 23 | </div> |
24 | $endif$ | 24 | $endif$ |
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index a7d72db..f3e5768 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
@@ -4,13 +4,13 @@ | |||
4 | $body$ | 4 | $body$ |
5 | </header> | 5 | </header> |
6 | 6 | ||
7 | <div class="c-card-list"> | 7 | <div class="l-card-list"> |
8 | $if(list_grid)$ | 8 | $if(list_grid)$ |
9 | <div class="c-card-list__cards c-card-list__cards--grid"> | 9 | <div class="l-card-list__cards l-card-list__cards--grid"> |
10 | $list:partials/grid_card()$ | 10 | $list:partials/grid_card()$ |
11 | </div> | 11 | </div> |
12 | $else$ | 12 | $else$ |
13 | <div class="c-card-list__cards"> | 13 | <div class="l-card-list__cards"> |
14 | $list:partials/list_card()$ | 14 | $list:partials/list_card()$ |
15 | </div> | 15 | </div> |
16 | $endif$ | 16 | $endif$ |