From: David ‘Bombe’ Roden Date: Fri, 22 Oct 2010 09:57:41 +0000 (+0200) Subject: Use parameter name from data provider. X-Git-Tag: 0.1-RC1~92 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=18c4af81b2c7f3b64d33039e6feaace2d1605156;p=Sone.git Use parameter name from data provider. --- diff --git a/src/main/resources/templates/include/pagination.html b/src/main/resources/templates/include/pagination.html index 5601d97..a5efc97 100644 --- a/src/main/resources/templates/include/pagination.html +++ b/src/main/resources/templates/include/pagination.html @@ -1,10 +1,10 @@ <%if pagination.necessary> <%/if> diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index fc8eedb..a2b35b7 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -5,6 +5,7 @@
<%getpage> <%paginate list=posts pagesize=2> + <%= page|store key=pageParameter> <%include include/pagination.html> <%foreach pagination.items post> <%include include/viewPost.html>