diff options
author | Volpeon <git@volpeon.ink> | 2021-12-16 12:19:50 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-12-16 12:19:50 +0100 |
commit | 4a13dd4156d6468cbfd5139cdf12410bc9c3b07d (patch) | |
tree | f92dc286a25aac2f833b8feb8ac27e502af0cf29 /templates/layouts | |
parent | Added RSS feeds (diff) | |
download | volpeon.ink-4a13dd4156d6468cbfd5139cdf12410bc9c3b07d.tar.gz volpeon.ink-4a13dd4156d6468cbfd5139cdf12410bc9c3b07d.tar.bz2 volpeon.ink-4a13dd4156d6468cbfd5139cdf12410bc9c3b07d.zip |
Support generic list layouts
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/categorized_list.html | 2 | ||||
-rw-r--r-- | templates/layouts/list.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 7d53cbe..73e75f3 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -13,7 +13,7 @@ $body$ | |||
13 | $if(it.description)$ | 13 | $if(it.description)$ |
14 | <div class="s-small 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.layout.is_grid)$ |
17 | <div class="l-card-list__cards l-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> |
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index f3e5768..32aa35a 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
@@ -5,7 +5,7 @@ $body$ | |||
5 | </header> | 5 | </header> |
6 | 6 | ||
7 | <div class="l-card-list"> | 7 | <div class="l-card-list"> |
8 | $if(list_grid)$ | 8 | $if(list_layout.is_grid)$ |
9 | <div class="l-card-list__cards l-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> |