summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r--templates/layouts/categorized_list.html33
1 files changed, 22 insertions, 11 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>