diff options
| author | Volpeon <git@volpeon.ink> | 2021-04-18 15:44:32 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-04-18 15:44:32 +0200 |
| commit | 8c83a2ef92be845c5ffecb1434028d0c68915936 (patch) | |
| tree | a18faff703a1deadb041dcc977208a4d6565dd85 /templates/layouts/categorized_list.html | |
| parent | Fetch pages of sections (diff) | |
| download | volpeon.ink-8c83a2ef92be845c5ffecb1434028d0c68915936.tar.gz volpeon.ink-8c83a2ef92be845c5ffecb1434028d0c68915936.tar.bz2 volpeon.ink-8c83a2ef92be845c5ffecb1434028d0c68915936.zip | |
Update
Diffstat (limited to 'templates/layouts/categorized_list.html')
| -rw-r--r-- | templates/layouts/categorized_list.html | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 8c25ec0..0e9142f 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
| @@ -1,23 +1,22 @@ | |||
| 1 | <main> | 1 | <section class="l-section l-section--no-head"> |
| 2 | <div class="c-page s-page l-container l-container--content l-container--pad-x l-container--pad-y"> | 2 | <div class="l-container l-container--pad-x l-container--pad-y l-container--content"> |
| 3 | <div class="c-page__content s-page-content"> | ||
| 4 | $body$ | 3 | $body$ |
| 5 | 4 | ||
| 6 | $for(pages.by_category)$ | 5 | $for(pages.by_category)$ |
| 7 | <h2 class="c-page__prefixed c-page__prefixed--h2"> | 6 | <h2> |
| 8 | $for(it.value/first)$ | 7 | $for(it.value/first)$ |
| 9 | $it.category.name$ | 8 | $it.category.name$ |
| 10 | $endfor$ | 9 | $endfor$ |
| 11 | </h2> | 10 | </h2> |
| 12 | <ul> | 11 | <ul> |
| 13 | $for(it.value)$ | 12 | $for(it.value)$ |
| 14 | <li class="c-page__prefixed c-page__prefixed--ref"> | 13 | <li> |
| 15 | <a href="$it.url.rel$">$it.title$</a> | 14 | <a href="$it.url.rel$">$it.title$</a> |
| 16 | </li> | 15 | </li> |
| 17 | $endfor$ | 16 | $endfor$ |
| 18 | </ul> | 17 | </ul> |
| 19 | $endfor$ | 18 | $endfor$ |
| 20 | </div> | ||
| 21 | </div> | 19 | </div> |
| 22 | </main> | 20 | </section> |
| 21 | |||
| 23 | 22 | ||
