summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-05 03:21:14 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-05 03:21:14 +0000
commit7a05087f475e897560c34a614108dae50ba05c62 (patch)
tree8fd276ca34b3a2ca3d2363454cc90de5856f4a83 /IkiWiki.pm
parenta41abc80ac6e4cb8bd146fe157d53bb6576b9426 (diff)
* 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.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm4
1 files changed, 3 insertions, 1 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 ($;@) { #{{{