summaryrefslogtreecommitdiffstats
path: root/tozt/layouts/paginator.html
diff options
context:
space:
mode:
Diffstat (limited to 'tozt/layouts/paginator.html')
-rw-r--r--tozt/layouts/paginator.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/tozt/layouts/paginator.html b/tozt/layouts/paginator.html
new file mode 100644
index 0000000..68a9013
--- /dev/null
+++ b/tozt/layouts/paginator.html
@@ -0,0 +1,27 @@
+---
+layout : default
+---
+<div class="page-header">
+ <h4>home</h4>
+</div>
+{{#collection.paginator}}
+<div class="{{ collection.resource_name}}">
+ <h3 class="title"><a href="{{url}}">{{title}}</a> <span class="date">{{ date }}</span></h3>
+ {{{ summary }}}
+ <div class="more">
+ <a href="{{url}}">read more..</a>
+ </div>
+</div>
+{{/collection.paginator}}
+<div class="pagination">
+ <ul>
+ {{#collection.paginator_navigation}}
+ {{#is_active_page}}
+ <li class="active"><a href="{{url}}">{{name}}</a></li>
+ {{/is_active_page}}
+ {{^is_active_page}}
+ <li><a href="{{url}}">{{name}}</a></li>
+ {{/is_active_page}}
+ {{/collection.paginator_navigation}}
+ </ul>
+</div>