X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=39d53f14c98184177d82dfd8074f2e35fa0b322d;hb=e234898b050cac1c9b2223fba60eb75a7b8ad90c;hp=8ec8384ec09d1e98006b45d8349888ef3ee75f6a;hpb=067571ca9d47d10dd401312f6bfe367908866f28;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 8ec8384..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> + <%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>