X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=5c2fca02a7fd44baadc53475b06ac15be544b252;hb=7594db8e46e8e2efeb0f0228d7267efc54eb2e78;hp=3f9dc5762f8a74ece41f22b1ce1862b9ce1e85eb;hpb=0cee1b73918990cc5823e1e938605e3a6c644837;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 3f9dc57..5c2fca0 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,31 +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>
-

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

- -
<%= Page.Index.AddSone.Description|l10n|html>
- -
- - - -
- <%include include/tail.html>