X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=39d53f14c98184177d82dfd8074f2e35fa0b322d;hb=faf1a9422b2bfd52d35652d020fd6931bb19386f;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..39d53f1 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,13 +1,20 @@ <%include include/head.html> + +

<%= 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>