X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=a5a57f6d8e0d255d7df3595f6076266a29d4cafb;hp=c18a99dff6ae9f663a3768a08a294c750573caed;hb=2257f627093bb9c4654f0b8f65f1d94cd62c86c4;hpb=284259bbc04105105abb089680ea538f2fb8709d diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index c18a99d..a5a57f6 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>

+ <%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>
+

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

+

<%= Page.Index.PostList.Text.FollowSomeSones|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>