<%include include/head.html>
- <script language="javascript">
- /* register input field/textarea swap. */
- $(document).ready(function() {
- registerInputTextareaSwap("#sone input.reply-input", "Write a Reply…");
- addCommentLinks();
- });
- </script>
+ <div class="page-id hidden">index</div>
<h1><%= Page.Index.PostList.Title|l10n|html></h1>
<div id="posts">
- <%foreach posts post>
+ <%= page|store key=pageParameter>
+ <%include include/pagination.html>
+ <%foreach pagination.items post>
<%include include/viewPost.html>
<%foreachelse>
<div><%= Page.Index.PostList.Text.NoPostYet|l10n|html></div>
<%/foreach>
+ <%include include/pagination.html>
</div>
<%include include/tail.html>