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.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/layouts/list.html b/templates/layouts/list.html
new file mode 100644
index 0000000..1c6398a
--- /dev/null
+++ b/templates/layouts/list.html
@@ -0,0 +1,41 @@
1<section class="l-section l-section--no-head">
2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content">
3 <div class="s-headlines s-colored-links">
4 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>
5
6$body$
7 </div>
8
9 <div class="c-post-list">
10 <div class="c-post-list__category-content">
11 $if(show_dates)$
12 $for(pages.desc_date)$
13 <a href="$it.url.rel$" class="c-post-list__post c-card">
14 <div class="c-card__content">
15 $it.title$
16 </div>
17 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__content u-fs0">
18 <small class="u-dn@sm-hi">
19 $it.date.short$
20 </small>
21 <small class="u-dn@sm-lo">
22 $it.date.long$
23 </small>
24 </time>
25 </a>
26 $endfor$
27 $else$
28 $for(pages.asc_title)$
29 <a href="$it.url.rel$" class="c-post-list__post c-card">
30 <div class="c-card__content">
31 $it.title$
32 </div>
33 </a>
34 $endfor$
35 $endif$
36 </div>
37 </div>
38 </div>
39</section>
40
41