Merge branch 'next' into edit-wot-trust
[Sone.git] / src / main / resources / templates / index.html
index 4c21bf6..39d53f1 100644 (file)
@@ -1,10 +1,15 @@
 <%include include/head.html>
 
+       <div class="page-id hidden">index</div>
+
        <h1><%= Page.Index.PostList.Title|l10n|html></h1>
 
        <div id="posts">
+               <%getpage>
+               <%paginate list=posts pagesize=25>
+               <%= page|store key=pageParameter>
                <%include include/pagination.html>
-               <%foreach posts post>
+               <%foreach pagination.items post>
                        <%include include/viewPost.html>
                <%foreachelse>
                        <div><%= Page.Index.PostList.Text.NoPostYet|l10n|html></div>