diff options
Diffstat (limited to 'templates')
-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> |