projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the pagination out of the HTML. This fixes #51.
[Sone.git]
/
src
/
main
/
resources
/
templates
/
index.html
diff --git
a/src/main/resources/templates/index.html
b/src/main/resources/templates/index.html
index
5c2fca0
..
345f376
100644
(file)
--- a/
src/main/resources/templates/index.html
+++ b/
src/main/resources/templates/index.html
@@
-1,10
+1,10
@@
<%include include/head.html>
<%include include/head.html>
+ <div class="page-id hidden">index</div>
+
<h1><%= Page.Index.PostList.Title|l10n|html></h1>
<div id="posts">
<h1><%= Page.Index.PostList.Title|l10n|html></h1>
<div id="posts">
- <%getpage>
- <%paginate list=posts pagesize=25>
<%= page|store key=pageParameter>
<%include include/pagination.html>
<%foreach pagination.items post>
<%= page|store key=pageParameter>
<%include include/pagination.html>
<%foreach pagination.items post>