🐛 Fix parameter name
[Sone.git] / src / main / resources / templates / index.html
1 <%include include/head.html>
2
3         <div class="page-id hidden">index</div>
4
5         <h1><%= Page.Index.PostList.Title|l10n|html></h1>
6
7         <%include include/updateStatus.html>
8
9         <div id="posts">
10                 <%include include/pagination.html pageParameter==page paginationName==pagination-index>
11                 <%foreach pagination.items post>
12                         <%include include/viewPost.html>
13                 <%foreachelse>
14                         <p><%= Page.Index.PostList.Text.NoPostYet|l10n|html></p>
15                         <p><%= Page.Index.PostList.Text.FollowSomeSones|l10n|html|replace needle=='{link}' replacement=='<a href="knownSones.html">'|replace needle=='{/link}' replacement=='</a>'></p>
16                         <p><%= Page.Index.PostList.Text.AutoFollowOption|l10n|html|replace needle=='{link}' replacement=='<a href="options.html">'|replace needle=='{/link}' replacement=='</a>'></p>
17                 <%/foreach>
18                 <%include include/pagination.html pageParameter==page>
19         </div>
20
21 <%include include/tail.html>