diff options
author | Volpeon <git@volpeon.ink> | 2022-07-31 10:00:03 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-07-31 10:00:03 +0200 |
commit | 20c5ad5a7a737d721cb39b75852a79f20502da74 (patch) | |
tree | 217a5cf991d73b482f39553ca1908f891b0611d7 /templates/layouts/categorized_list.html | |
parent | Update (diff) | |
download | volpeon.ink-20c5ad5a7a737d721cb39b75852a79f20502da74.tar.gz volpeon.ink-20c5ad5a7a737d721cb39b75852a79f20502da74.tar.bz2 volpeon.ink-20c5ad5a7a737d721cb39b75852a79f20502da74.zip |
Simplified "list" list layout code
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r-- | templates/layouts/categorized_list.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 1a1048a..67dc466 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -47,7 +47,12 @@ $body$ | |||
47 | $elseif(it.layout.is_gallery-3)$ | 47 | $elseif(it.layout.is_gallery-3)$ |
48 | $it.items:partials/gallery_card()$ | 48 | $it.items:partials/gallery_card()$ |
49 | $else$ | 49 | $else$ |
50 | $it.items:partials/list_card()$ | 50 | <div class="u-d-contents u-d-none@sm-lo"> |
51 | $it.items:partials/list_card()$ | ||
52 | </div> | ||
53 | <div class="u-d-contents u-d-none@sm-hi"> | ||
54 | $it.items:partials/grid_card()$ | ||
55 | </div> | ||
51 | $endif$ | 56 | $endif$ |
52 | </div> | 57 | </div> |
53 | $if(it.omitted)$ | 58 | $if(it.omitted)$ |