summaryrefslogtreecommitdiffstats
path: root/templates/layouts/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts/list.html')
-rw-r--r--templates/layouts/list.html50
1 files changed, 17 insertions, 33 deletions
diff --git a/templates/layouts/list.html b/templates/layouts/list.html
index c0045c0..208b267 100644
--- a/templates/layouts/list.html
+++ b/templates/layouts/list.html
@@ -7,20 +7,20 @@ $body$
7 7
8 <div class="c-card-list"> 8 <div class="c-card-list">
9 <div class="c-card-list__category-content$if(list_grid)$ c-card-list__category-content--grid$endif$"> 9 <div class="c-card-list__category-content$if(list_grid)$ c-card-list__category-content--grid$endif$">
10 $if(show_dates)$ 10 $for(pages.all)$
11 $for(pages.desc_date)$ 11 <a href="$it.url.rel$" class="c-card-list__card c-card">
12 <a href="$it.url.rel$" class="c-card-list__card c-card"> 12 $if(show_read_indicators)$
13 $if(show_read_indicators)$ 13 <div class="c-card__block c-card__block--indicator"></div>
14 <div class="c-card__block c-card__block--indicator"></div> 14 $endif$
15 $endif$ 15 $if(icon)$
16 $if(icon)$ 16 <svg class="c-card__block o-icon">
17 <svg class="c-card__block o-icon"> 17 <use href="/symbols.svg#icon-$icon$"></use>
18 <use href="/symbols.svg#icon-$icon$"></use> 18 </svg>
19 </svg> 19 $endif$
20 $endif$ 20 <div class="c-card__block c-card__block--main">
21 <div class="c-card__block c-card__block--main"> 21 $it.title$
22 $it.title$ 22 </div>
23 </div> 23 $if(it.date)$
24 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> 24 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0">
25 <small class="u-dn@sm-hi"> 25 <small class="u-dn@sm-hi">
26 $it.date.short$ 26 $it.date.short$
@@ -29,25 +29,9 @@ $body$
29 $it.date.long$ 29 $it.date.long$
30 </small> 30 </small>
31 </time> 31 </time>
32 </a> 32 $endif$
33 $endfor$ 33 </a>
34 $else$ 34 $endfor$
35 $for(pages.asc_title)$
36 <a href="$it.url.rel$" class="c-card-list__card c-card">
37 $if(show_read_indicators)$
38 <div class="c-card__block c-card__block--indicator"></div>
39 $endif$
40 $if(icon)$
41 <svg class="c-card__block o-icon">
42 <use href="/symbols.svg#icon-$icon$"></use>
43 </svg>
44 $endif$
45 <div class="c-card__block c-card__block--main">
46 $it.title$
47 </div>
48 </a>
49 $endfor$
50 $endif$
51 </div> 35 </div>
52 </div> 36 </div>
53</section> 37</section>