Author: joes
Date: Tue Mar 25 13:22:26 2014
New Revision: 1581313
URL: http://svn.apache.org/r1581313
Log:
better
Modified:
thrift/cms-site/trunk/lib/path.pm
Modified: thrift/cms-site/trunk/lib/path.pm
URL:
http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1581313&r1=1581312&r2=1581313&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Tue Mar 25 13:22:26 2014
@@ -19,7 +19,8 @@ my %thrift_args = (
snippet_footer=> $thrift_snippet_footer,# append this string to each
generated snipppet block
);
-$thrift_snippet_footer =~ s/ snippet / page /; # full page 'snippets'
+my $thrift_page_footer = $thrift_snippet_footer;
+$thrift_page_footer =~ s/ snippet / page /; # full page 'snippets'
# order matters here: see http://www.apache.org/dev/cmsref#core-logic
@@ -39,7 +40,7 @@ our @patterns = (
}],
[qr!^/test/!, snippet => { %thrift_args,
view => [qw/reconstruct trim_local_link_extensions
single_narrative/],
- snippet_footer => $thrift_snippet_footer, # these are full pages not
simply snippets
+ snippet_footer => $thrift_page_footer, # these are full pages not
simply snippets
}],
[qr/\.md(?:text)?$/, snippet => { %thrift_args,
view => 'single_narrative',