X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=f4343fc9e978f9c2fbcf1c29c538ea74d70b7e0a;hb=ffd92ca2374c0b2218e583d02e0bdd24b8c110ae;hp=d148926bc00114a2d0e008fc7b0dc0e14d2120c3;hpb=464607ee6c7e508210021e23ad5e5d723c00d608;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index d148926..f4343fc 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,65 +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>
- -

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

- -
<%= Page.Index.AddSone.Description|l10n|html>
-
- - - -
-
+<%include include/tail.html>