X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;fp=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=fc8eedbf0ddd44c478bb8d9ce5558fd427951db7;hp=4c21bf69e3f03ba632df57cabbd1de0f7ca681b8;hb=55135a2fbb98c7a17a9c4a080a5a1173704e7774;hpb=9e8288cad876b3c86ce3bbd1a7daaee8d32137e2 diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 4c21bf6..fc8eedb 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -3,8 +3,10 @@

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

+ <%getpage> + <%paginate list=posts pagesize=2> <%include include/pagination.html> - <%foreach posts post> + <%foreach pagination.items post> <%include include/viewPost.html> <%foreachelse>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>