summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-01-10 12:42:16 +0100
committerVolpeon <git@volpeon.ink>2023-01-10 12:42:16 +0100
commit416436b6a757479de8ce58fd87c4927cb52b541d (patch)
tree210d1844066982a9022ed69bbf532e7b2d5edcf8 /templates/layouts/categorized_list.html
parentImproved appearance of related content (diff)
downloadvolpeon.ink-416436b6a757479de8ce58fd87c4927cb52b541d.tar.gz
volpeon.ink-416436b6a757479de8ce58fd87c4927cb52b541d.tar.bz2
volpeon.ink-416436b6a757479de8ce58fd87c4927cb52b541d.zip
Improved list page header
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r--templates/layouts/categorized_list.html20
1 files changed, 4 insertions, 16 deletions
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 @@
5 itemtype="https://schema.org/DataFeed" 5 itemtype="https://schema.org/DataFeed"
6 itemid="$url.full$" 6 itemid="$url.full$"
7> 7>
8 <header class="s-colored-links"> 8 <header class="c-subheader s-links">
9 <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> 9 <h1 class="o-heading c-subheader__title p-name" itemprop="name headline">$title$.</h1>
10 <span class="o-heading__primary">$title$</span> 10 $body$
11 </h1>
12
13$body$
14 </header> 11 </header>
15 12
16 $if(notoc)$$else$
17 <nav class="c-hnav s-invisible-links" aria-label="Sections">
18 <h2 class="u-mt-0">Jump to</h2>
19 $for(list)$
20 <a class="c-hnav__item" href="#$it.slug$">$it.title$</a>
21 $endfor$
22 </nav>
23 $endif$
24
25 <div class="l-card-list"> 13 <div class="l-card-list">
26 $for(list)$ 14 $for(list)$
27 <section class="h-entry h-feed" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/DataFeed"> 15 <section class="h-entry h-feed" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/DataFeed">
@@ -34,7 +22,7 @@ $body$
34 $endif$ 22 $endif$
35 </h2> 23 </h2>
36 $if(it.description)$ 24 $if(it.description)$
37 <div class="s-small s-colored-links">$it.description$</div> 25 <div class="s-small s-links s-links--colored">$it.description$</div>
38 $endif$ 26 $endif$
39 </header> 27 </header>
40 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$"> 28 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$">