You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by pn...@apache.org on 2011/03/06 22:40:42 UTC

[Lucene.Net] svn commit: r1078585 - /incubator/lucene.net/site/trunk/lib/view.pm

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 {