summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/categorized_list.html21
-rw-r--r--templates/partials/grid_card.html2
2 files changed, 9 insertions, 14 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 690ab68..6f06a63 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -7,23 +7,18 @@ $body$
7<div class="c-card-list"> 7<div class="c-card-list">
8 $for(list)$ 8 $for(list)$
9 <section> 9 <section>
10 <header class="c-card-list__category-header"> 10 <h2 class="c-card-list__title s-invisible-links">
11 <div> 11 <a href="$it.url.rel$">$it.title$</a>
12 <h2 class="c-card-list__category-title"> 12 </h2>
13 <a href="$it.url.rel$">$it.title$</a> 13 $if(it.description)$
14 </h2> 14 <div class="c-card-list__text s-colored-links">$it.description$</div>
15 $if(it.omitted)$<small>$it.omitted$ more</small>$endif$ 15 $endif$
16 </div>
17 $if(it.description)$
18 <small class="c-card-list__category-description">$it.description$</small>
19 $endif$
20 </header>
21 $if(it.grid)$ 16 $if(it.grid)$
22 <div class="c-card-list__category-content c-card-list__category-content--grid"> 17 <div class="c-card-list__cards c-card-list__cards--grid">
23 $it.items:partials/grid_card()$ 18 $it.items:partials/grid_card()$
24 </div> 19 </div>
25 $else$ 20 $else$
26 <div class="c-card-list__category-content"> 21 <div class="c-card-list__cards">
27 $it.items:partials/list_card()$ 22 $it.items:partials/list_card()$
28 </div> 23 </div>
29 $endif$ 24 $endif$
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index 449b25c..e1b7f78 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -30,7 +30,7 @@
30 </div> 30 </div>
31 $if(it.post_icon)$ 31 $if(it.post_icon)$
32 <svg class="c-card__block o-icon" width="1em" height="1em"> 32 <svg class="c-card__block o-icon" width="1em" height="1em">
33 <use href="/symbols.svg#$it.post_icon$"></use> 33 <use href="/symbols.svg#icon-$it.post_icon$"></use>
34 </svg> 34 </svg>
35 $endif$ 35 $endif$
36</a> 36</a>