Author: wave
Date: Wed May 16 05:42:34 2012
New Revision: 1339016
URL: http://svn.apache.org/viewvc?rev=1339016&view=rev
Log:
adjust comments
Modified:
incubator/ooo/ooo-site/trunk/lib/view.pm
Modified: incubator/ooo/ooo-site/trunk/lib/view.pm
URL:
http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/lib/view.pm?rev=1339016&r1=1339015&r2=1339016&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/lib/view.pm (original)
+++ incubator/ooo/ooo-site/trunk/lib/view.pm Wed May 16 05:42:34 2012
@@ -42,7 +42,6 @@ sub single_narrative {
}
}
- # get ssi information from templates/**/ssi.mdtext where ** matches the
content path.
my $ssi_header_file = ssiheaderfile($args{path});
$args{ssi} = {};
read_text_file $ssi_header_file, $args{ssi};
@@ -87,7 +86,6 @@ sub html_page {
}
}
- # get ssi information from templates/**/ssi.mdtext where ** matches the
content path.
my $ssi_header_file = ssiheaderfile($args{path});
$args{ssi} = {};
read_text_file $ssi_header_file, $args{ssi};
@@ -169,7 +167,9 @@ sub ssiheaderfile {
my $ssipath = "templates/ssi.mdtext";
my $relpath = "templates/";
-# get the deepest
+# get the deepest ssi.mdtext in the templates tree whose path matches the same
in the content tree.
+# content/es/por-que/**
+# templates/es/por-que/ssi.mdtext
for (@path) {
$relpath .= "$_/";
if (-e "$relpath/ssi.mdtext") {