lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnas...@apache.org
Subject [Lucene.Net] svn commit: r1078585 - /incubator/lucene.net/site/trunk/lib/view.pm
Date Sun, 06 Mar 2011 21:40:42 GMT
Author: pnasser
Date: Sun Mar  6 21:40:42 2011
New Revision: 1078585

URL: http://svn.apache.org/viewvc?rev=1078585&view=rev
Log: (empty)

Modified:
    incubator/lucene.net/site/trunk/lib/view.pm

Modified: incubator/lucene.net/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/trunk/lib/view.pm?rev=1078585&r1=1078584&r2=1078585&view=diff
==============================================================================
--- incubator/lucene.net/site/trunk/lib/view.pm (original)
+++ incubator/lucene.net/site/trunk/lib/view.pm Sun Mar  6 21:40:42 2011
@@ -51,6 +51,13 @@ sub basic {
     return ($rendered, 'html', \%args);
 }
 
+sub html {
+	my %args = @_;
+    my $filepath = "content$args{path}";
+    read_text_file($filepath, \%args);
+    return ($filepath, 'html', \%args);
+}
+
 # A view which generates a sitemap.
 
 sub sitemap {



Mime
View raw message