diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-30 00:18:56 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-10-30 00:18:56 -0400 |
commit | bb0a4f4e126c05fc73d566986fd1612468f5be67 (patch) | |
tree | a3a712e0a27ea1fe41d3d6097326896afd2f53f5 /tozt/layouts/paginator.html | |
download | blog.tozt.net-bb0a4f4e126c05fc73d566986fd1612468f5be67.tar.gz blog.tozt.net-bb0a4f4e126c05fc73d566986fd1612468f5be67.zip |
initial commit
Diffstat (limited to 'tozt/layouts/paginator.html')
-rw-r--r-- | tozt/layouts/paginator.html | 27 |
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> |