X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=5c2fca02a7fd44baadc53475b06ac15be544b252;hb=ac1b98f1fae1c1aca0c6e18dd57331e9da96ffb4;hp=8f189742e5715f4db81ff61c6fd7aea08164baab;hpb=bc67a0f3537a40197fac4f99a9e9ec970a686fdb;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 8f18974..5c2fca0 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,21 +1,18 @@ <%include include/head.html> - -

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

- <%foreach posts post> + <%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>