X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=482d4d17c758c619ae9de103976ce52003a2c246;hb=820f04de1741b7f3f5205a9520f1adfbd88e6d58;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..482d4d1 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,56 +1,19 @@ -
+<%include include/head.html> - - - - - -

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

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

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

+ <%include include/updateStatus.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> -
-
- - - - -
-
+ <%include include/pagination.html pageParameter==page paginationName==pagination-index> + <%foreach pagination.items post> + <%include include/viewPost.html> <%foreachelse>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>
<%/foreach> + <%include include/pagination.html pageParameter==page>
-
\ No newline at end of file +<%include include/tail.html>