X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=f4343fc9e978f9c2fbcf1c29c538ea74d70b7e0a;hp=9573b9dfcebd9f742ade3adfa0dec548f35fba08;hb=179e7da4d8d8a474d0b622d60b5f5d32d6ab4052;hpb=4388eb3b15fccdb6891da15b7e61731b5ae8a9d6 diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 9573b9d..f4343fc 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,56 +1,21 @@ -
+<%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>
- -
- <%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>
+

<%= Page.Index.PostList.Text.NoPostYet|l10n|html>

+

<%= Page.Index.PostList.Text.FollowSomeSones|l10n|html|replace needle=='{link}' replacement==''|replace needle=='{/link}' replacement==''>

+

<%= Page.Index.PostList.Text.AutoFollowOption|l10n|html|replace needle=='{link}' replacement==''|replace needle=='{/link}' replacement==''>

<%/foreach> + <%include include/pagination.html pageParameter==page>
-
\ No newline at end of file +<%include include/tail.html>