X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=3955d3b64732d9b268081d6e9748a0b48fdb31f4;hb=db1981cee6635b3d9e56cb37d795bbe931046330;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..3955d3b 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,12 +1,34 @@ -
- - - +<%include include/head.html> @@ -28,33 +50,14 @@
<%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/viewPost.html> <%foreachelse>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>
<%/foreach>
- +

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

- +
<%= Page.Index.AddSone.Description|l10n|html>
@@ -62,4 +65,5 @@
-
+ +<%include include/tail.html>