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.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
new file mode 100644
index 0000000..d213bb8
--- /dev/null
+++ b/templates/layouts/categorized_list.html
@@ -0,0 +1,22 @@
1<main class="c-page s-page l-container l-container--content l-container--pad-v">
2 <div class="c-page__content">
3 <h1 class="c-page__prefixed c-page__prefixed--h1">$title$</h1>
4$body$
5
6 $for(pages.by_category)$
7 <h2 class="c-page__prefixed c-page__prefixed--h2">
8 $for(it.value/first)$
9 $it.category.name$
10 $endfor$
11 </h2>
12 <ul>
13 $for(it.value)$
14 <li class="c-page__prefixed c-page__prefixed--ref">
15 <a href="$it.url.rel$">$it.title$</a>
16 </li>
17 $endfor$
18 </ul>
19 $endfor$
20 </div>
21</main>
22