* 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
parent
a41abc80ac
commit
7a05087f47
|
@ -432,7 +432,9 @@ sub template_params (@) { #{{{
|
||||||
my $text_ref = shift;
|
my $text_ref = shift;
|
||||||
$$text_ref=&Encode::decode_utf8($$text_ref);
|
$$text_ref=&Encode::decode_utf8($$text_ref);
|
||||||
},
|
},
|
||||||
filename => "$config{templatedir}/$filename", @_;
|
filename => "$config{templatedir}/$filename",
|
||||||
|
loop_context_vars => 1,
|
||||||
|
@_;
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
sub template ($;@) { #{{{
|
sub template ($;@) { #{{{
|
||||||
|
|
|
@ -3,8 +3,11 @@ ikiwiki (1.17) UNRELEASED; urgency=low
|
||||||
* Disable tidy generator tag.
|
* Disable tidy generator tag.
|
||||||
* Move tidy back to sanitize hook, found out how to only show body.
|
* Move tidy back to sanitize hook, found out how to only show body.
|
||||||
* Turn off tidy indentation too.
|
* 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
|
ikiwiki (1.16) unstable; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue