diff options
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/categorized_list.html | 9 | ||||
-rw-r--r-- | templates/layouts/list.html | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 73e75f3..7bbfd8c 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -8,7 +8,10 @@ $body$ | |||
8 | $for(list)$ | 8 | $for(list)$ |
9 | <section> | 9 | <section> |
10 | <h2 class="s-invisible-links"> | 10 | <h2 class="s-invisible-links"> |
11 | <a href="$it.url.rel$">$it.title$</a> | 11 | <a href="$it.url.rel$"> |
12 | $it.title$ | ||
13 | $if(it.omitted)$→$endif$ | ||
14 | </a> | ||
12 | </h2> | 15 | </h2> |
13 | $if(it.description)$ | 16 | $if(it.description)$ |
14 | <div class="s-small s-colored-links">$it.description$</div> | 17 | <div class="s-small s-colored-links">$it.description$</div> |
@@ -17,6 +20,10 @@ $body$ | |||
17 | <div class="l-card-list__cards l-card-list__cards--grid"> | 20 | <div class="l-card-list__cards l-card-list__cards--grid"> |
18 | $it.items:partials/grid_card()$ | 21 | $it.items:partials/grid_card()$ |
19 | </div> | 22 | </div> |
23 | $elseif(it.layout.is_gallery)$ | ||
24 | <div class="l-card-list__cards l-card-list__cards--gallery"> | ||
25 | $it.items:partials/gallery_card()$ | ||
26 | </div> | ||
20 | $else$ | 27 | $else$ |
21 | <div class="l-card-list__cards"> | 28 | <div class="l-card-list__cards"> |
22 | $it.items:partials/list_card()$ | 29 | $it.items:partials/list_card()$ |
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 32aa35a..9c6b26e 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
@@ -9,6 +9,10 @@ $body$ | |||
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> |
12 | $elseif(list_layout.is_gallery)$ | ||
13 | <div class="l-card-list__cards l-card-list__cards--gallery"> | ||
14 | $list:partials/gallery_card()$ | ||
15 | </div> | ||
12 | $else$ | 16 | $else$ |
13 | <div class="l-card-list__cards"> | 17 | <div class="l-card-list__cards"> |
14 | $list:partials/list_card()$ | 18 | $list:partials/list_card()$ |