Author: joes
Date: Wed Mar 19 05:20:29 2014
New Revision: 1579139

URL: http://svn.apache.org/r1579139
Log:
support index.html pages as generated from news views

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=1579139&r1=1579138&r2=1579139&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Wed Mar 19 05:20:29 2014
@@ -8,11 +8,8 @@ use warnings;
 my $conf = Load(join "", <DATA>);
 
 our @patterns = (
-    [qr!^/sitemap\.html$!, sitemap => {
-        conf     => $conf,
-        headers  => { title => "Sitemap" },
-    }],
-    [qr!/index\.html$!, news_page => { conf => $conf, headers => { title => 
"Index" } }],
+    [qr!^/sitemap\.html$!, sitemap => { conf => $conf, headers => { title => 
"Sitemap" } }],
+    [qr!/index\.html$!,    sitemap => { conf => $conf, headers => { title => 
"Index" } }],
     [qr/\.md(?:text)?$/, single_narrative => {
         conf     => $conf,
         template => 'default.html',


Reply via email to