diff options
| author | Volpeon <git@volpeon.ink> | 2021-12-28 21:18:02 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-12-28 21:18:02 +0100 |
| commit | 80716c79a7db19d6d95070125e1af7946a9849ec (patch) | |
| tree | 626b9691a6af0db2a033d2bd9adc2dc58c0d8925 /templates/layouts/list.html | |
| parent | Use timeout to remove snowflake (diff) | |
| download | volpeon.ink-80716c79a7db19d6d95070125e1af7946a9849ec.tar.gz volpeon.ink-80716c79a7db19d6d95070125e1af7946a9849ec.tar.bz2 volpeon.ink-80716c79a7db19d6d95070125e1af7946a9849ec.zip | |
Support for more complex layouts
Diffstat (limited to 'templates/layouts/list.html')
| -rw-r--r-- | templates/layouts/list.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 40d85f0..bc12805 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
| @@ -1,19 +1,19 @@ | |||
| 1 | <header class="s-headlines s-colored-links"> | 1 | <div class="l-container l-container--pad-x l-container--pad-y l-container--content"> |
| 2 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> | 2 | <header class="s-headlines s-colored-links"> |
| 3 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> | ||
| 3 | 4 | ||
| 4 | $body$ | 5 | $body$ |
| 5 | </header> | 6 | </header> |
| 6 | 7 | ||
| 7 | <div class="l-card-list"> | 8 | <div class="l-card-list"> |
| 8 | <div class="l-card-list__cards l-card-list__cards--$list_layout.id$"> | 9 | <div class="l-card-list__cards l-card-list__cards--$list_layout.id$"> |
| 9 | $if(list_layout.is_grid)$ | 10 | $if(list_layout.is_grid)$ |
| 10 | $list:partials/grid_card()$ | 11 | $list:partials/grid_card()$ |
| 11 | $elseif(list_layout.is_gallery)$ | 12 | $elseif(list_layout.is_gallery)$ |
| 12 | $list:partials/gallery_card()$ | 13 | $list:partials/gallery_card()$ |
| 13 | $else$ | 14 | $else$ |
| 14 | $list:partials/list_card()$ | 15 | $list:partials/list_card()$ |
| 15 | $endif$ | 16 | $endif$ |
| 17 | </div> | ||
| 16 | </div> | 18 | </div> |
| 17 | </div> | 19 | </div> |
| 18 | |||
| 19 | |||
