X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=cb435cac0f81e4ed78d8e52bd92acedf2101ef8b;hb=d7be09f25c86e5644e2352f0e336a4ea75c30f53;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..cb435ca 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,12 +1,34 @@ -
- - - +<%include include/head.html> @@ -28,26 +50,7 @@
<%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> @@ -62,4 +65,5 @@ -
+ +<%include include/tail.html>