summaryrefslogtreecommitdiffstats
path: root/templates
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
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')
-rw-r--r--templates/layouts/categorized_list.html20
-rw-r--r--templates/layouts/exhibit.html2
-rw-r--r--templates/layouts/list.html9
-rw-r--r--templates/layouts/page.html4
-rw-r--r--templates/layouts/redirect.html2
5 files changed, 11 insertions, 26 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$">
diff --git a/templates/layouts/exhibit.html b/templates/layouts/exhibit.html
index 7a50635..e378f74 100644
--- a/templates/layouts/exhibit.html
+++ b/templates/layouts/exhibit.html
@@ -49,7 +49,7 @@
49 49
50 <div class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125 u-pt-0"> 50 <div class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125 u-pt-0">
51 <div class="l-container l-container--narrow u-ml-0"> 51 <div class="l-container l-container--narrow u-ml-0">
52 <div class="s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> 52 <div class="s-links s-links--colored s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody">
53$body$ 53$body$
54 </div> 54 </div>
55 </div> 55 </div>
diff --git a/templates/layouts/list.html b/templates/layouts/list.html
index cf54c4b..6fe65c4 100644
--- a/templates/layouts/list.html
+++ b/templates/layouts/list.html
@@ -5,12 +5,9 @@
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 <div class="l-card-list"> 13 <div class="l-card-list">
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
index b1f7835..4bc6e17 100644
--- a/templates/layouts/page.html
+++ b/templates/layouts/page.html
@@ -22,14 +22,14 @@
22 <span class="s-headings__primary">$title$</span> 22 <span class="s-headings__primary">$title$</span>
23 </h1> 23 </h1>
24 24
25 <div class="s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> 25 <div class="s-links s-links--colored s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody">
26 <div class="l-container l-container--narrow u-ml-0"> 26 <div class="l-container l-container--narrow u-ml-0">
27$body$ 27$body$
28 </div> 28 </div>
29 </div> 29 </div>
30 30
31 $if(references)$ 31 $if(references)$
32 <footer class="s-colored-links s-lists"> 32 <footer class="s-links s-links--colored s-lists">
33 <h1>References</h1> 33 <h1>References</h1>
34 <ul> 34 <ul>
35 $for(references)$ 35 $for(references)$
diff --git a/templates/layouts/redirect.html b/templates/layouts/redirect.html
index d515abe..8e40b72 100644
--- a/templates/layouts/redirect.html
+++ b/templates/layouts/redirect.html
@@ -1,4 +1,4 @@
1<main class="c-main l-container l-container--pad-x l-container--pad-y l-container--narrow s-colored-links s-headlines"> 1<main class="c-main l-container l-container--pad-x l-container--pad-y l-container--narrow s-links s-links--colored s-headlines">
2 <h1 class="u-mt-0"> 2 <h1 class="u-mt-0">
3 <span class="s-headlines__title-inner">$title$</span> 3 <span class="s-headlines__title-inner">$title$</span>
4 </h1> 4 </h1>