X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=39d53f14c98184177d82dfd8074f2e35fa0b322d;hb=56d8cf539156f5949ce33aebf784438c737f84b3;hp=c18a99dff6ae9f663a3768a08a294c750573caed;hpb=284259bbc04105105abb089680ea538f2fb8709d;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index c18a99d..39d53f1 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,56 +1,20 @@ -
+<%include include/head.html> - - - - - -

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

- -
-
-
- - -
-
- -
-
-
+

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

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