<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -30,13 +30,27 @@ for my $file (File::Find::Rule-&gt;file-&gt;in('www/src')) {
   if ($leaf =~ /\.html/) {
     open my $fh, '&gt;', &quot;www/out/$path/$leaf&quot;;
     my $content = `cat $file`;
-    my $html = $template-&gt;fill_in(HASH =&gt; {
-      content   =&gt; \$content,
+    my %stash = (
       depth     =&gt; \(scalar @parts),
       root      =&gt; '../' x @parts,
       coretypes =&gt; \@coretypes,
       ct_page   =&gt; \(scalar $path =~ /coretype$/),
-    });
+    );
+
+    my $filled_content = Text::Template-&gt;fill_this_in(
+      $content,
+      DELIMITERS =&gt; [ '{{', '}}' ],
+      HASH       =&gt; \%stash
+    );
+    die &quot;template error: $Text::Template::ERROR&quot; unless $filled_content;
+
+    my $html = $template-&gt;fill_in(
+      DELIMITERS =&gt; [ '{{', '}}' ],
+      HASH       =&gt; {
+        content   =&gt; \$filled_content,
+        %stash
+      }
+    );
     die &quot;template error: $Text::Template::ERROR&quot; unless $html;
 
     print $fh $html;</diff>
      <filename>util/build-www.pl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cad69d4ea4a1688cd6129e3782b24d1f5917fb47</id>
    </parent>
  </parents>
  <author>
    <name>Ricardo SIGNES</name>
    <email>rjbs@cpan.org</email>
  </author>
  <url>http://github.com/rjbs/rx/commit/c9a53c7597d29307d8e38a2aa59ba8a3320c5e81</url>
  <id>c9a53c7597d29307d8e38a2aa59ba8a3320c5e81</id>
  <committed-date>2008-08-30T05:35:01-07:00</committed-date>
  <authored-date>2008-08-30T05:35:01-07:00</authored-date>
  <message>fix template rendering</message>
  <tree>cf28e8a0bc74b8ba9fe710408ef199784a2b3440</tree>
  <committer>
    <name>Ricardo SIGNES</name>
    <email>rjbs@cpan.org</email>
  </committer>
</commit>
