You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/02/08 01:52:36 UTC

svn commit: r1565862 - /myfaces/site/cms-site/trunk/lib/view.pm

Author: lu4242
Date: Sat Feb  8 00:52:35 2014
New Revision: 1565862

URL: http://svn.apache.org/r1565862
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=1565862&r1=1565861&r2=1565862&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Sat Feb  8 00:52:35 2014
@@ -44,8 +44,10 @@ sub single_narrative {
     $args{refs} = {};
 
     # render sitemap stuff
-    my $ttitle = ${args{headers}}{title}; 
-    $args{ttitle} = $ttitle;
+    my $pagetree = ${args{headers}}{pagetree}; 
+    if ($pagetree) {
+        $args{pagetree} = sitemap($args{path});
+    }
     
     # render tip box with reference to Confluence export
     # if translation for a page is still pending