diff options
| author | Volpeon <git@volpeon.ink> | 2021-11-14 16:32:43 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-11-14 16:32:43 +0100 |
| commit | 789a593987be88bc3e16b8ceb7357c24ef9e5aa2 (patch) | |
| tree | 27f8852f8d80723d3297c9f2eb0473bddd2ffc2a /templates/layouts/list.html | |
| parent | Update npm dependencies (diff) | |
| download | volpeon.ink-789a593987be88bc3e16b8ceb7357c24ef9e5aa2.tar.gz volpeon.ink-789a593987be88bc3e16b8ceb7357c24ef9e5aa2.tar.bz2 volpeon.ink-789a593987be88bc3e16b8ceb7357c24ef9e5aa2.zip | |
Optimized layout structure
Diffstat (limited to 'templates/layouts/list.html')
| -rw-r--r-- | templates/layouts/list.html | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 7a9d573..ff29314 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html | |||
| @@ -1,21 +1,19 @@ | |||
| 1 | <section class="l-container l-container--pad-x l-container--pad-y l-container--content"> | 1 | <div class="s-headlines s-colored-links"> |
| 2 | <div class="s-headlines s-colored-links"> | 2 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> |
| 3 | <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> | ||
| 4 | 3 | ||
| 5 | $body$ | 4 | $body$ |
| 6 | </div> | 5 | </div> |
| 7 | 6 | ||
| 8 | <div class="c-card-list"> | 7 | <div class="c-card-list"> |
| 9 | $if(list_grid)$ | 8 | $if(list_grid)$ |
| 10 | <div class="c-card-list__category-content c-card-list__category-content--grid"> | 9 | <div class="c-card-list__category-content c-card-list__category-content--grid"> |
| 11 | $list:partials/grid_card()$ | 10 | $list:partials/grid_card()$ |
| 12 | </div> | 11 | </div> |
| 13 | $else$ | 12 | $else$ |
| 14 | <div class="c-card-list__category-content"> | 13 | <div class="c-card-list__category-content"> |
| 15 | $list:partials/list_card()$ | 14 | $list:partials/list_card()$ |
| 16 | </div> | 15 | </div> |
| 17 | $endif$ | 16 | $endif$ |
| 18 | </div> | 17 | </div> |
| 19 | </section> | ||
| 20 | 18 | ||
| 21 | 19 | ||
