comparison 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
comparison
equal deleted inserted replaced
100:fd6eccb24882 101:13249e5ca51c
1 <article> 1 <article>
2 <header> 2 <header>
3 <h1>{{category}} <span class="decorator">Category</span></h1> 3 <h1>{{query.category}} <span class="decorator">Category</span></h1>
4 </header> 4 </header>
5 <section> 5 <section>
6 {{content}} 6 {{content}}
7 <h2>Pages in category "{{category}}"</h2> 7 <h2>Pages in category "{{query.category}}"</h2>
8 <ul class="list-category"> 8 <ul class="list-category">
9 {{#each pages}} 9 {{#each pages}}
10 <li><a href="{{url_read}}">{{title}}</a></li> 10 <li><a href="/#/read/{{url}}">{{title}}</a></li>
11 {{/each}} 11 {{/each}}
12 </ul> 12 </ul>
13 </section> 13 </section>
14 <footer> 14 <footer>
15 </footer> 15 </footer>