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: r1244335 - /incubator/lucene.net/site/trunk/lib/path.pm
Date Wed, 15 Feb 2012 03:54:51 GMT
Author: pnasser
Date: Wed Feb 15 03:54:50 2012
New Revision: 1244335

URL: http://svn.apache.org/viewvc?rev=1244335&view=rev
Log:
adding blog roll to path.pm

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

Modified: incubator/lucene.net/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/trunk/lib/path.pm?rev=1244335&r1=1244334&r2=1244335&view=diff
==============================================================================
--- incubator/lucene.net/site/trunk/lib/path.pm (original)
+++ incubator/lucene.net/site/trunk/lib/path.pm Wed Feb 15 03:54:50 2012
@@ -1,4 +1,5 @@
 package path;
+use ASF::Value;
 use strict;
 use warnings;
 
@@ -9,8 +10,13 @@ use warnings;
 # be passed to the view subroutine.
 
 our @patterns = (
-    [ qr!^/.*\.html$!, basic => {} ],
-	[ qr!\.mdtext$!, basic => { template => "template.html" } ],
+    [ qr!^/.*\.html$!, basic => {
+         blog     => ASF::Value::Blogs->new(blog => "infra", limit=> 3),
+       } ],
+    [ qr!\.mdtext$!, basic => { 
+         template => "template.html",
+         blog     => ASF::Value::Blogs->new(blog => "infra", limit=> 3),
+        } ],
     [ qr!^/sitemap\.html$!, sitemap => {} ],
 );
 



Mime
View raw message