diff options
Diffstat (limited to 'templates/layouts')
| -rw-r--r-- | templates/layouts/categorized_list.html | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 690ab68..6f06a63 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
| @@ -7,23 +7,18 @@ $body$ | |||
| 7 | <div class="c-card-list"> | 7 | <div class="c-card-list"> |
| 8 | $for(list)$ | 8 | $for(list)$ |
| 9 | <section> | 9 | <section> |
| 10 | <header class="c-card-list__category-header"> | 10 | <h2 class="c-card-list__title s-invisible-links"> |
| 11 | <div> | 11 | <a href="$it.url.rel$">$it.title$</a> |
| 12 | <h2 class="c-card-list__category-title"> | 12 | </h2> |
| 13 | <a href="$it.url.rel$">$it.title$</a> | 13 | $if(it.description)$ |
| 14 | </h2> | 14 | <div class="c-card-list__text s-colored-links">$it.description$</div> |
| 15 | $if(it.omitted)$<small>$it.omitted$ more</small>$endif$ | 15 | $endif$ |
| 16 | </div> | ||
| 17 | $if(it.description)$ | ||
| 18 | <small class="c-card-list__category-description">$it.description$</small> | ||
| 19 | $endif$ | ||
| 20 | </header> | ||
| 21 | $if(it.grid)$ | 16 | $if(it.grid)$ |
| 22 | <div class="c-card-list__category-content c-card-list__category-content--grid"> | 17 | <div class="c-card-list__cards c-card-list__cards--grid"> |
| 23 | $it.items:partials/grid_card()$ | 18 | $it.items:partials/grid_card()$ |
| 24 | </div> | 19 | </div> |
| 25 | $else$ | 20 | $else$ |
| 26 | <div class="c-card-list__category-content"> | 21 | <div class="c-card-list__cards"> |
| 27 | $it.items:partials/list_card()$ | 22 | $it.items:partials/list_card()$ |
| 28 | </div> | 23 | </div> |
| 29 | $endif$ | 24 | $endif$ |
