X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=fc8eedbf0ddd44c478bb8d9ce5558fd427951db7;hb=55135a2fbb98c7a17a9c4a080a5a1173704e7774;hp=9573b9dfcebd9f742ade3adfa0dec548f35fba08;hpb=4388eb3b15fccdb6891da15b7e61731b5ae8a9d6;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 9573b9d..fc8eedb 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,56 +1,17 @@ -
- - - - - - -

<%= 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>
- -
- <%foreach post.replies reply> -
- -
<% reply.text|html>
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
-
- <%/foreach> -
-
- - - - -
-
+ <%getpage> + <%paginate list=posts pagesize=2> + <%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>