diff options
author | Volpeon <git@volpeon.ink> | 2021-12-22 07:57:02 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-12-22 07:57:02 +0100 |
commit | fde3ebeb30424401555e0506100126004562c330 (patch) | |
tree | 42f1aa0d96cc38a57e44665faf07d190dc7cd955 /templates/layouts/list.html | |
parent | Recompressed drawings (diff) | |
download | volpeon.ink-fde3ebeb30424401555e0506100126004562c330.tar.gz volpeon.ink-fde3ebeb30424401555e0506100126004562c330.tar.bz2 volpeon.ink-fde3ebeb30424401555e0506100126004562c330.zip |
More compact list templates
Diffstat (limited to 'templates/layouts/list.html')
-rw-r--r-- | templates/layouts/list.html | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 9c6b26e..40d85f0 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
@@ -5,19 +5,15 @@ $body$ | |||
5 | </header> | 5 | </header> |
6 | 6 | ||
7 | <div class="l-card-list"> | 7 | <div class="l-card-list"> |
8 | $if(list_layout.is_grid)$ | 8 | <div class="l-card-list__cards l-card-list__cards--$list_layout.id$"> |
9 | <div class="l-card-list__cards l-card-list__cards--grid"> | 9 | $if(list_layout.is_grid)$ |
10 | $list:partials/grid_card()$ | 10 | $list:partials/grid_card()$ |
11 | </div> | 11 | $elseif(list_layout.is_gallery)$ |
12 | $elseif(list_layout.is_gallery)$ | ||
13 | <div class="l-card-list__cards l-card-list__cards--gallery"> | ||
14 | $list:partials/gallery_card()$ | 12 | $list:partials/gallery_card()$ |
15 | </div> | 13 | $else$ |
16 | $else$ | ||
17 | <div class="l-card-list__cards"> | ||
18 | $list:partials/list_card()$ | 14 | $list:partials/list_card()$ |
19 | </div> | 15 | $endif$ |
20 | $endif$ | 16 | </div> |
21 | </div> | 17 | </div> |
22 | 18 | ||
23 | 19 | ||