summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-21 08:08:14 +0100
committerVolpeon <git@volpeon.ink>2021-11-21 08:08:14 +0100
commit5ede915c4990584fa0ae7747b9a5ad9a4e93acdd (patch)
tree175f4f34b47a1a122ed69a1581f7b19b65d29428 /templates
parentFix list card post icon (diff)
downloadvolpeon.ink-5ede915c4990584fa0ae7747b9a5ad9a4e93acdd.tar.gz
volpeon.ink-5ede915c4990584fa0ae7747b9a5ad9a4e93acdd.tar.bz2
volpeon.ink-5ede915c4990584fa0ae7747b9a5ad9a4e93acdd.zip
Improved list structure again
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/categorized_list.html10
-rw-r--r--templates/layouts/list.html6
-rw-r--r--templates/partials/grid_card.html2
-rw-r--r--templates/partials/list_card.html2
4 files changed, 10 insertions, 10 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 6f06a63..7d53cbe 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -4,21 +4,21 @@
4$body$ 4$body$
5</header> 5</header>
6 6
7<div class="c-card-list"> 7<div class="l-card-list">
8 $for(list)$ 8 $for(list)$
9 <section> 9 <section>
10 <h2 class="c-card-list__title s-invisible-links"> 10 <h2 class="s-invisible-links">
11 <a href="$it.url.rel$">$it.title$</a> 11 <a href="$it.url.rel$">$it.title$</a>
12 </h2> 12 </h2>
13 $if(it.description)$ 13 $if(it.description)$
14 <div class="c-card-list__text s-colored-links">$it.description$</div> 14 <div class="s-small s-colored-links">$it.description$</div>
15 $endif$ 15 $endif$
16 $if(it.grid)$ 16 $if(it.grid)$
17 <div class="c-card-list__cards c-card-list__cards--grid"> 17 <div class="l-card-list__cards l-card-list__cards--grid">
18 $it.items:partials/grid_card()$ 18 $it.items:partials/grid_card()$
19 </div> 19 </div>
20 $else$ 20 $else$
21 <div class="c-card-list__cards"> 21 <div class="l-card-list__cards">
22 $it.items:partials/list_card()$ 22 $it.items:partials/list_card()$
23 </div> 23 </div>
24 $endif$ 24 $endif$
diff --git a/templates/layouts/list.html b/templates/layouts/list.html
index a7d72db..f3e5768 100644
--- a/templates/layouts/list.html
+++ b/templates/layouts/list.html
@@ -4,13 +4,13 @@
4$body$ 4$body$
5</header> 5</header>
6 6
7<div class="c-card-list"> 7<div class="l-card-list">
8 $if(list_grid)$ 8 $if(list_grid)$
9 <div class="c-card-list__cards c-card-list__cards--grid"> 9 <div class="l-card-list__cards l-card-list__cards--grid">
10 $list:partials/grid_card()$ 10 $list:partials/grid_card()$
11 </div> 11 </div>
12 $else$ 12 $else$
13 <div class="c-card-list__cards"> 13 <div class="l-card-list__cards">
14 $list:partials/list_card()$ 14 $list:partials/list_card()$
15 </div> 15 </div>
16 $endif$ 16 $endif$
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index e1b7f78..9cd8463 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -1,4 +1,4 @@
1<a href="$it.url.rel$" class="c-card-list__card c-card"> 1<a href="$it.url.rel$" class="l-card-list__card c-card">
2 $if(it.indicator)$ 2 $if(it.indicator)$
3 <div class="c-card__block c-card__block--indicator"></div> 3 <div class="c-card__block c-card__block--indicator"></div>
4 $endif$ 4 $endif$
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html
index 1a085a0..b784c1e 100644
--- a/templates/partials/list_card.html
+++ b/templates/partials/list_card.html
@@ -1,4 +1,4 @@
1<a href="$it.url.rel$" class="c-card-list__card c-card"> 1<a href="$it.url.rel$" class="l-card-list__card c-card">
2 $if(it.indicator)$ 2 $if(it.indicator)$
3 <div class="c-card__block c-card__block--indicator"></div> 3 <div class="c-card__block c-card__block--indicator"></div>
4 $endif$ 4 $endif$