summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm4
-rw-r--r--debian/changelog5
2 files changed, 7 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 5bb8ea1c9..0907df6a1 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -432,7 +432,9 @@ sub template_params (@) { #{{{
my $text_ref = shift;
$$text_ref=&Encode::decode_utf8($$text_ref);
},
- filename => "$config{templatedir}/$filename", @_;
+ filename => "$config{templatedir}/$filename",
+ loop_context_vars => 1,
+ @_;
} #}}}
sub template ($;@) { #{{{
diff --git a/debian/changelog b/debian/changelog
index a66ba60f7..2f0258868 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,11 @@ ikiwiki (1.17) UNRELEASED; urgency=low
* Disable tidy generator tag.
* Move tidy back to sanitize hook, found out how to only show body.
* Turn off tidy indentation too.
+ * Turn on HTML::Template loop_context_vars; not actually used in stock
+ templates but can be useful for things like making comma-delimited lists
+ of tags or what have you.
- -- Joey Hess <joeyh@debian.org> Fri, 4 Aug 2006 22:29:31 -0400
+ -- Joey Hess <joeyh@debian.org> Fri, 4 Aug 2006 23:04:12 -0400
ikiwiki (1.16) unstable; urgency=low