X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=39d53f14c98184177d82dfd8074f2e35fa0b322d;hb=faf1a9422b2bfd52d35652d020fd6931bb19386f;hp=f72ceb09f70aa2fd53de93c8aa52918128885bfd;hpb=7828d0784e4dd3e15392602dbd91316280d83438;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index f72ceb0..39d53f1 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,31 +1,20 @@ -
+<%include include/head.html> -

<%= Page.Index.Page.Title|l10n|insert needle="{sone}" key=currentSone.name|html>

- -
-
-
- - -
-
- -
-
-
+

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

- <%foreach posts post> -
- -
<% post.text|html>
-
<% post.time|date format="MMM d, yyyy, HH:mm:ss">
-
+ <%getpage> + <%paginate list=posts pagesize=25> + <%= page|store key=pageParameter> + <%include include/pagination.html> + <%foreach pagination.items post> + <%include include/viewPost.html> <%foreachelse>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>
<%/foreach> + <%include include/pagination.html>
-
\ No newline at end of file +<%include include/tail.html>