From 8b027d5935ab0a4de681be651a14adbed23e7717 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 22 Oct 2010 10:30:35 +0200 Subject: [PATCH] Use default loop variable. --- src/main/resources/templates/include/viewPost.html | 2 +- src/main/resources/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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>
-- 2.7.4