X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=2b21e91a2abcf90a7cb634041f2d833d05c50ddd;hb=d4d356a040c0787b2062c686ee8f02f7b63f0660;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..2b21e91 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,12 +1,16 @@ -
- - - +<%include include/head.html> @@ -28,26 +32,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 +47,5 @@ -
+ +<%include include/tail.html>