diff static/tpl/category.html @ 101:13249e5ca51c

Big refactor for better database caching: - Using SQL alchemy instead of raw SQLite. - Better architecture and internal APIs. - Fixed some issues where the database was not used correctly. - Fixed some problems with querying pages. Got rid of `Makefile`, now using `grunt`. Now using a custom `Bootstrap` include file.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 05 Nov 2013 08:13:18 -0800
parents 58a1a7baca25
children 74eb145eb839
line wrap: on
line diff
--- a/static/tpl/category.html	Sat May 25 22:35:23 2013 -0700
+++ b/static/tpl/category.html	Tue Nov 05 08:13:18 2013 -0800
@@ -1,13 +1,13 @@
 <article>
     <header>
-        <h1>{{category}} <span class="decorator">Category</span></h1>
+        <h1>{{query.category}} <span class="decorator">Category</span></h1>
     </header>
     <section>
         {{content}}
-        <h2>Pages in category "{{category}}"</h2>
+        <h2>Pages in category "{{query.category}}"</h2>
         <ul class="list-category">
         {{#each pages}}
-            <li><a href="{{url_read}}">{{title}}</a></li>
+            <li><a href="/#/read/{{url}}">{{title}}</a></li>
         {{/each}}
         </ul>
     </section>