diff static/tpl/category.html @ 99:58a1a7baca25

Added preliminary UI support for categories.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 21 Apr 2013 08:12:18 -0700
parents
children 13249e5ca51c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/static/tpl/category.html	Sun Apr 21 08:12:18 2013 -0700
@@ -0,0 +1,16 @@
+<article>
+    <header>
+        <h1>{{category}} <span class="decorator">Category</span></h1>
+    </header>
+    <section>
+        {{content}}
+        <h2>Pages in category "{{category}}"</h2>
+        <ul class="list-category">
+        {{#each pages}}
+            <li><a href="{{url_read}}">{{title}}</a></li>
+        {{/each}}
+        </ul>
+    </section>
+    <footer>
+    </footer>
+</article>