X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=a2b35b7a8ba4d3bfdaacd3efa6162ab55dbfc8d0;hb=18c4af81b2c7f3b64d33039e6feaace2d1605156;hp=9046406204ebac3a4e8af4e9fba5f935b6f7aa6d;hpb=957281659ee81f25c6d92ddc97288283b458efd3;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 9046406..a2b35b7 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,41 +1,18 @@ -
- - - - - - -

<%= Page.Index.Page.Title|l10n|insert needle="{sone}" key=currentSone.name|html>

- -
-
-
- - -
-
- -
-
-
+<%include include/head.html>

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

- <%foreach posts post> -
- -
<% post.text|html>
-
<% post.time|date format="MMM d, yyyy, HH:mm:ss">
-
+ <%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>
-
\ No newline at end of file +<%include include/tail.html>