diff options
| author | Volpeon <git@volpeon.ink> | 2021-03-26 23:17:56 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-03-26 23:17:56 +0100 |
| commit | 6e0a7ea009b08983f2966d51fe4438681c0863c3 (patch) | |
| tree | ae337f7903bb60ef6f5a71275101678ca0e58d88 /templates/layouts/categorized_list.html | |
| parent | WIP: Redesign (diff) | |
| download | volpeon.ink-6e0a7ea009b08983f2966d51fe4438681c0863c3.tar.gz volpeon.ink-6e0a7ea009b08983f2966d51fe4438681c0863c3.tar.bz2 volpeon.ink-6e0a7ea009b08983f2966d51fe4438681c0863c3.zip | |
WIP: Redesign
Diffstat (limited to 'templates/layouts/categorized_list.html')
| -rw-r--r-- | templates/layouts/categorized_list.html | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index b32d2d5..8c25ec0 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
| @@ -1,21 +1,23 @@ | |||
| 1 | <main class="c-page s-page l-container l-container--content l-container--pad-v"> | 1 | <main> |
| 2 | <div class="c-page__content s-page-content"> | 2 | <div class="c-page s-page l-container l-container--content l-container--pad-x l-container--pad-y"> |
| 3 | <div class="c-page__content s-page-content"> | ||
| 3 | $body$ | 4 | $body$ |
| 4 | 5 | ||
| 5 | $for(pages.by_category)$ | 6 | $for(pages.by_category)$ |
| 6 | <h2 class="c-page__prefixed c-page__prefixed--h2"> | 7 | <h2 class="c-page__prefixed c-page__prefixed--h2"> |
| 7 | $for(it.value/first)$ | 8 | $for(it.value/first)$ |
| 8 | $it.category.name$ | 9 | $it.category.name$ |
| 9 | $endfor$ | 10 | $endfor$ |
| 10 | </h2> | 11 | </h2> |
| 11 | <ul> | 12 | <ul> |
| 12 | $for(it.value)$ | 13 | $for(it.value)$ |
| 13 | <li class="c-page__prefixed c-page__prefixed--ref"> | 14 | <li class="c-page__prefixed c-page__prefixed--ref"> |
| 14 | <a href="$it.url.rel$">$it.title$</a> | 15 | <a href="$it.url.rel$">$it.title$</a> |
| 15 | </li> | 16 | </li> |
| 16 | $endfor$ | 17 | $endfor$ |
| 17 | </ul> | 18 | </ul> |
| 18 | $endfor$ | 19 | $endfor$ |
| 20 | </div> | ||
| 19 | </div> | 21 | </div> |
| 20 | </main> | 22 | </main> |
| 21 | 23 | ||
