summaryrefslogtreecommitdiffstats
path: root/_root/index.html
diff options
context:
space:
mode:
Diffstat (limited to '_root/index.html')
-rw-r--r--_root/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/_root/index.html b/_root/index.html
new file mode 100644
index 0000000..1a0d384
--- /dev/null
+++ b/_root/index.html
@@ -0,0 +1,26 @@
+---
+title: home
+---
+{{# posts.paginator }}
+<div class="post">
+ <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>
+{{/ posts.paginator }}
+
+<hr>
+<div class="pagination">
+ <ul>
+ {{#posts.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}}
+ {{/posts.paginator_navigation}}
+ </ul>
+</div>