From: David ‘Bombe’ Roden Date: Fri, 22 Oct 2010 08:30:35 +0000 (+0200) Subject: Use default loop variable. X-Git-Tag: 0.1-RC1~97 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8b027d5935ab0a4de681be651a14adbed23e7717;p=Sone.git Use default loop variable. --- diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 8e528ac..8b41fdb 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,4 +1,4 @@ -
+
<% post.text|html>
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 888cdb2..4c21bf6 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -4,7 +4,7 @@
<%include include/pagination.html> - <%foreach posts post postLoop> + <%foreach posts post> <%include include/viewPost.html> <%foreachelse>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>