aboutsummaryrefslogtreecommitdiff
path: root/templates/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list.html')
-rw-r--r--templates/list.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/list.html b/templates/list.html
new file mode 100644
index 0000000..df04ffe
--- /dev/null
+++ b/templates/list.html
@@ -0,0 +1,35 @@
+<!doctype html5>
+<html>
+{{> head.html}}
+<body>
+{{> header.html}}
+<h1>
+{{?htag}}
+ Category listing:
+ {{#htag}}
+ <a class="cards-tagpiece" href="{{href}}">
+ {{^tag}}all{{/tag}}
+ {{?tag}}» {{tag}}{{/tag}}
+ </a>
+ {{/htag}}
+{{/htag}}
+</h1>
+<p>See the <a href="{{taghref}}">hierarchical view of this category</a>.</p>
+{{?subtags}}<h3>Sub-categories</h3>
+ <ul class="cards-subcategories">
+ {{#subtags}}
+ <li><a href="{{href}}">{{#tags}} » {{.}} {{/tags}}</a></li>
+ {{/subtags}}
+ </ul>
+{{/subtags}}
+{{?pages}}
+ <h3>Cards</h3>
+ <ul class="cards-list">
+ {{#pages}}
+ <li><a href="{{href}}">{{meta.title}}</a></li>
+ {{/pages}}
+ </ul>
+{{/pages}}
+{{> footer.html}}
+</body>
+</html>