X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=5c2fca02a7fd44baadc53475b06ac15be544b252;hb=561524ab3db17469dddbd7d5ca3ffd8495a0b7a3;hp=3bd914fe6ea3b875694971097cecd1954399c72b;hpb=e34be62367c121e312e0d5da823a5c8995084c04;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 3bd914f..5c2fca0 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -3,11 +3,16 @@

<%= Page.Index.PostList.Title|l10n|html>

- <%foreach posts post postLoop> + <%getpage> + <%paginate list=posts pagesize=25> + <%= page|store key=pageParameter> + <%include include/pagination.html> + <%foreach pagination.items post> <%include include/viewPost.html> <%foreachelse>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>
<%/foreach> + <%include include/pagination.html>
<%include include/tail.html>