X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=a2b35b7a8ba4d3bfdaacd3efa6162ab55dbfc8d0;hb=18c4af81b2c7f3b64d33039e6feaace2d1605156;hp=2647e7f0168551d8ee469fbffc859b58c9102f55;hpb=a76953c600f2078049dc12bf1dcbab416716b776;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 2647e7f..a2b35b7 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,5 +1,18 @@ -
+<%include include/head.html> -

Sone

+

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

-
\ No newline at end of file +
+ <%getpage> + <%paginate list=posts pagesize=2> + <%= 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>