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/04 03:20:41 UTC
svn commit: r1564157 - /myfaces/site/cms-site/trunk/lib/view.pm
Author: lu4242
Date: Tue Feb 4 02:20:40 2014
New Revision: 1564157
URL: http://svn.apache.org/r1564157
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=1564157&r1=1564156&r2=1564157&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Tue Feb 4 02:20:40 2014
@@ -270,9 +270,8 @@ sub breadcrumbs {
$targetpath = $relpath;
$relpath .= "$_/";
# Ignore top level since myfaces cms start in /wiki dir
- my $datafile = "";
if ($ignoreCount > 0) {
- $datafile = "content$targetpath$_.mdtext";
+ my $datafile = "content$targetpath$_.mdtext";
my %data;
if (-f $datafile) {
read_text_file $datafile, \%data;
@@ -289,7 +288,7 @@ sub breadcrumbs {
$targetpath = $relpath;
}
# $_ ||= "Home";
- push @rv, qq(<a href="$targetpath">$linktitle $datafile</a>);
+ push @rv, qq(<a href="$targetpath">$linktitle</a>);
} else {
$_ ||= "Home";
push @rv, qq(<a href="$relpath">\u$_</a>);