diff options
| author | Volpeon <git@volpeon.ink> | 2021-11-14 10:28:18 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-11-14 10:28:18 +0100 |
| commit | f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7 (patch) | |
| tree | 14853441ca7cd8f7e283c93e871d801cd43db10a /templates/layouts | |
| parent | Generate special list metadata (diff) | |
| download | volpeon.ink-f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7.tar.gz volpeon.ink-f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7.tar.bz2 volpeon.ink-f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7.zip | |
List improvements
Diffstat (limited to 'templates/layouts')
| -rw-r--r-- | templates/layouts/categorized_list.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index aea8863..256e9de 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
| @@ -7,9 +7,14 @@ $body$ | |||
| 7 | 7 | ||
| 8 | <div class="c-card-list"> | 8 | <div class="c-card-list"> |
| 9 | $for(list)$ | 9 | $for(list)$ |
| 10 | <h2 class="c-card-list__category-header"> | 10 | <header class="c-card-list__category-header"> |
| 11 | <a href="$it.url.rel$">$it.title$</a> | 11 | <h2 class="c-card-list__category-title"> |
| 12 | </h2> | 12 | <a href="$it.url.rel$">$it.title$</a> |
| 13 | </h2> | ||
| 14 | $if(it.content)$ | ||
| 15 | <small class="c-card-list__category-subtitle">$it.content$</small> | ||
| 16 | $endif$ | ||
| 17 | </header> | ||
| 13 | $if(it.grid)$ | 18 | $if(it.grid)$ |
| 14 | <div class="c-card-list__category-content c-card-list__category-content--grid"> | 19 | <div class="c-card-list__category-content c-card-list__category-content--grid"> |
| 15 | $it.items:partials/grid_card()$ | 20 | $it.items:partials/grid_card()$ |
