* 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.
master
joey 2006-08-05 03:21:14 +00:00
parent a41abc80ac
commit 7a05087f47
2 changed files with 7 additions and 2 deletions

View File

@ -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 ($;@) { #{{{

5
debian/changelog vendored
View File

@ -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