X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=5c2fca02a7fd44baadc53475b06ac15be544b252;hb=7594db8e46e8e2efeb0f0228d7267efc54eb2e78;hp=4c21bf69e3f03ba632df57cabbd1de0f7ca681b8;hpb=8b027d5935ab0a4de681be651a14adbed23e7717;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 4c21bf6..5c2fca0 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -3,8 +3,11 @@

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

+ <%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>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>