X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Findex.html;h=5c2fca02a7fd44baadc53475b06ac15be544b252;hb=fd5860dbb46063f229492354af88f1ad3701772c;hp=4110320a3dc243c342dfba8bc4b463f4fe9d821e;hpb=e6f85fc6d33b182351e8fff6d5d67bd83c70b7d8;p=Sone.git diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 4110320..5c2fca0 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,31 +1,18 @@ -
- -

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

- -
-
-
- - -
-
- -
-
-
+<%include include/head.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>