From 6e0a7ea009b08983f2966d51fe4438681c0863c3 Mon Sep 17 00:00:00 2001 From: Volpeon <git@volpeon.ink> Date: Fri, 26 Mar 2021 23:17:56 +0100 Subject: WIP: Redesign --- templates/layouts/categorized_list.html | 34 +++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'templates/layouts/categorized_list.html') 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 @@ -<main class="c-page s-page l-container l-container--content l-container--pad-v"> - <div class="c-page__content s-page-content"> +<main> + <div class="c-page s-page l-container l-container--content l-container--pad-x l-container--pad-y"> + <div class="c-page__content s-page-content"> $body$ - $for(pages.by_category)$ - <h2 class="c-page__prefixed c-page__prefixed--h2"> - $for(it.value/first)$ - $it.category.name$ - $endfor$ - </h2> - <ul> - $for(it.value)$ - <li class="c-page__prefixed c-page__prefixed--ref"> - <a href="$it.url.rel$">$it.title$</a> - </li> - $endfor$ - </ul> - $endfor$ + $for(pages.by_category)$ + <h2 class="c-page__prefixed c-page__prefixed--h2"> + $for(it.value/first)$ + $it.category.name$ + $endfor$ + </h2> + <ul> + $for(it.value)$ + <li class="c-page__prefixed c-page__prefixed--ref"> + <a href="$it.url.rel$">$it.title$</a> + </li> + $endfor$ + </ul> + $endfor$ + </div> </div> </main> -- cgit v1.2.3-70-g09d2