From 416436b6a757479de8ce58fd87c4927cb52b541d Mon Sep 17 00:00:00 2001
From: Volpeon <git@volpeon.ink>
Date: Tue, 10 Jan 2023 12:42:16 +0100
Subject: Improved list page header

---
 templates/layouts/categorized_list.html | 20 ++++----------------
 1 file changed, 4 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 67dc466..6c3c7f3 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -5,23 +5,11 @@
     itemtype="https://schema.org/DataFeed"
     itemid="$url.full$"
 >
-    <header class="s-colored-links">
-        <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline">
-            <span class="o-heading__primary">$title$</span>
-        </h1>
-
-$body$
+    <header class="c-subheader s-links">
+        <h1 class="o-heading c-subheader__title p-name" itemprop="name headline">$title$.</h1>
+        $body$
     </header>
 
-    $if(notoc)$$else$
-        <nav class="c-hnav s-invisible-links" aria-label="Sections">
-            <h2 class="u-mt-0">Jump to</h2>
-            $for(list)$
-                <a class="c-hnav__item" href="#$it.slug$">$it.title$</a>
-            $endfor$
-        </nav>
-    $endif$
-
     <div class="l-card-list">
         $for(list)$
             <section class="h-entry h-feed" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/DataFeed">
@@ -34,7 +22,7 @@ $body$
                         $endif$
                     </h2>
                     $if(it.description)$
-                        <div class="s-small s-colored-links">$it.description$</div>
+                        <div class="s-small s-links s-links--colored">$it.description$</div>
                     $endif$ 
                 </header>
                 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$">
-- 
cgit v1.2.3-70-g09d2