myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1565870 - /myfaces/site/cms-site/trunk/lib/view.pm
Date Sat, 08 Feb 2014 02:38:00 GMT
Author: lu4242
Date: Sat Feb  8 02:37:59 2014
New Revision: 1565870

URL: http://svn.apache.org/r1565870
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/lib/view.pm

Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1565870&r1=1565869&r2=1565870&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Sat Feb  8 02:37:59 2014
@@ -47,7 +47,7 @@ sub single_narrative {
     my $pagetree = ${args{headers}}{pagetree}; 
     if ($pagetree) {
         $args{ttitle} = "Page tree generated";
-        $args{pagetree} = sitemap($args{path});
+        $args{pagetree} = sitemap($file);
     }
     
     # render tip box with reference to Confluence export
@@ -96,8 +96,7 @@ sub single_narrative {
 
     # use the content as a template if it contains Django templates
     if ($args{content} =~ /\{[{%][^}]*[%}]\}/) {
-        print STDOUT "Applying $args{path} as a Django template\n";
-        $args{content} = Dotiac::DTL->new(\$args{content})->render(\%args);
+    
     }
     
     return Dotiac::DTL::Template($template)->render(\%args), html => \%args;



Mime
View raw message