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.html38
1 files changed, 20 insertions, 18 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 20c0ee5..adeb762 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -1,27 +1,29 @@
1<div class="s-headlines s-colored-links"> 1<header class="s-headlines s-colored-links">
2 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> 2 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>
3 3
4$body$ 4$body$
5</div> 5</header>
6 6
7<div class="c-card-list"> 7<div class="c-card-list">
8 $for(list)$ 8 $for(list)$
9 <header class="c-card-list__category-header"> 9 <section>
10 <h2 class="c-card-list__category-title"> 10 <header class="c-card-list__category-header">
11 <a href="$it.url.rel$">$it.title$</a> 11 <h2 class="c-card-list__category-title">
12 </h2> 12 <a href="$it.url.rel$">$it.title$</a>
13 $if(it.content)$ 13 </h2>
14 <small class="c-card-list__category-subtitle">$it.content$</small> 14 $if(it.content)$
15 <small class="c-card-list__category-subtitle">$it.content$</small>
16 $endif$
17 </header>
18 $if(it.grid)$
19 <div class="c-card-list__category-content c-card-list__category-content--grid">
20 $it.items:partials/grid_card()$
21 </div>
22 $else$
23 <div class="c-card-list__category-content">
24 $it.items:partials/list_card()$
25 </div>
15 $endif$ 26 $endif$
16 </header> 27 </section>
17 $if(it.grid)$
18 <div class="c-card-list__category-content c-card-list__category-content--grid">
19 $it.items:partials/grid_card()$
20 </div>
21 $else$
22 <div class="c-card-list__category-content">
23 $it.items:partials/list_card()$
24 </div>
25 $endif$
26 $endfor$ 28 $endfor$
27</div> 29</div>