summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-01-10 15:57:25 +0100
committerVolpeon <git@volpeon.ink>2023-01-10 15:57:25 +0100
commit18b1bce0cbd23aa0f7fa5e883ba079e547554ad3 (patch)
tree91d8454d409eec74805829f4304592f8baa0f716 /templates
parentImproved list page header (diff)
downloadvolpeon.ink-18b1bce0cbd23aa0f7fa5e883ba079e547554ad3.tar.gz
volpeon.ink-18b1bce0cbd23aa0f7fa5e883ba079e547554ad3.tar.bz2
volpeon.ink-18b1bce0cbd23aa0f7fa5e883ba079e547554ad3.zip
Updated headings
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/categorized_list.html33
-rw-r--r--templates/layouts/list.html4
-rw-r--r--templates/layouts/page.html4
3 files changed, 27 insertions, 14 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 6c3c7f3..3132216 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -6,7 +6,9 @@
6 itemid="$url.full$" 6 itemid="$url.full$"
7> 7>
8 <header class="c-subheader s-links"> 8 <header class="c-subheader s-links">
9 <h1 class="o-heading c-subheader__title p-name" itemprop="name headline">$title$.</h1> 9 <h1 class="c-subheader__title p-name" itemprop="name headline">
10 $title$.
11 </h1>
10 $body$ 12 $body$
11 </header> 13 </header>
12 14
@@ -14,16 +16,25 @@
14 $for(list)$ 16 $for(list)$
15 <section class="h-entry h-feed" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/DataFeed"> 17 <section class="h-entry h-feed" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/DataFeed">
16 <header class="l-card-list__header"> 18 <header class="l-card-list__header">
17 <h2 class="s-invisible-links u-mt-0 p-name" id="$it.slug$" itemprop="name headline"> 19 <div class="l-card-list__header-section">
18 $if(it.url)$ 20 <h2 class="s-invisible-links u-mt-0 p-name" id="$it.slug$" itemprop="name headline">
19 <a href="$it.url.rel$">$it.title$</a> 21 $if(it.url)$
20 $else$ 22 <a href="$it.url.rel$">$it.title$</a>
21 $it.title$ 23 $else$
24 $it.title$
25 $endif$
26 </h2>
27 $if(it.description)$
28 <div class="s-small s-links s-links--colored">$it.description$</div>
22 $endif$ 29 $endif$
23 </h2> 30 </div>
24 $if(it.description)$ 31 $if(it.omitted)$
25 <div class="s-small s-links s-links--colored">$it.description$</div> 32 <div class="l-card-list__header-section u-d-none@sm-lo">
26 $endif$ 33 <a class="o-badge o-badge--200" href="$it.url.rel$" aria-label="$it.omitted$ more items in '$it.title$'">
34 $it.omitted$ more items <span class="u-ml-10">→</span>
35 </a>
36 </div>
37 $endif$
27 </header> 38 </header>
28 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$"> 39 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$">
29 $if(it.layout.is_grid-2)$ 40 $if(it.layout.is_grid-2)$
@@ -44,7 +55,7 @@
44 $endif$ 55 $endif$
45 </div> 56 </div>
46 $if(it.omitted)$ 57 $if(it.omitted)$
47 <footer class="l-card-list__footer"> 58 <footer class="l-card-list__footer u-d-none@sm-hi">
48 <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$" aria-label="$it.omitted$ more items in '$it.title$'"> 59 <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$" aria-label="$it.omitted$ more items in '$it.title$'">
49 $it.omitted$ more items <span class="u-ml-10">→</span> 60 $it.omitted$ more items <span class="u-ml-10">→</span>
50 </a> 61 </a>
diff --git a/templates/layouts/list.html b/templates/layouts/list.html
index 6fe65c4..a7053c4 100644
--- a/templates/layouts/list.html
+++ b/templates/layouts/list.html
@@ -6,7 +6,9 @@
6 itemid="$url.full$" 6 itemid="$url.full$"
7> 7>
8 <header class="c-subheader s-links"> 8 <header class="c-subheader s-links">
9 <h1 class="o-heading c-subheader__title p-name" itemprop="name headline">$title$.</h1> 9 <h1 class="c-subheader__title p-name" itemprop="name headline">
10 $title$.
11 </h1>
10 $body$ 12 $body$
11 </header> 13 </header>
12 14
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
index 4bc6e17..3020eb2 100644
--- a/templates/layouts/page.html
+++ b/templates/layouts/page.html
@@ -18,8 +18,8 @@
18 <span class="o-badge u-mb-125">Draft</span> 18 <span class="o-badge u-mb-125">Draft</span>
19 $endif$ 19 $endif$
20 20
21 <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> 21 <h1 class="o-heading o-heading--display o-heading--xxl u-mt-0 p-name" itemprop="name headline">
22 <span class="s-headings__primary">$title$</span> 22 $title$
23 </h1> 23 </h1>
24 24
25 <div class="s-links s-links--colored 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">