From 7a05087f475e897560c34a614108dae50ba05c62 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 5 Aug 2006 03:21:14 +0000 Subject: * 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. --- IkiWiki.pm | 4 +++- debian/changelog | 5 ++++- 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 Fri, 4 Aug 2006 22:29:31 -0400 + -- Joey Hess Fri, 4 Aug 2006 23:04:12 -0400 ikiwiki (1.16) unstable; urgency=low -- cgit v1.2.3