- <div>
- <form action="createPost.html" method="post">
- <div>
- <label for="text"><%= Page.Index.Label.Text|l10n|html></label>
- <textarea name="text"></textarea>
- </div>
- <div>
- <button type="submit"><%= Page.Index.Button.Post|l10n|html></button>
- </div>
- </form>
+ <div id="posts">
+ <%getpage>
+ <%paginate list=posts pagesize=25>
+ <%= 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>