You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@esme.apache.org by rh...@apache.org on 2011/06/26 14:43:18 UTC

svn commit: r1139769 - /esme/site/trunk/lib/path.pm

Author: rhirsch
Date: Sun Jun 26 12:43:18 2011
New Revision: 1139769

URL: http://svn.apache.org/viewvc?rev=1139769&view=rev
Log:
First cut of copying Stanbol site to ESME

Modified:
    esme/site/trunk/lib/path.pm

Modified: esme/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/esme/site/trunk/lib/path.pm?rev=1139769&r1=1139768&r2=1139769&view=diff
==============================================================================
--- esme/site/trunk/lib/path.pm (original)
+++ esme/site/trunk/lib/path.pm Sun Jun 26 12:43:18 2011
@@ -3,16 +3,20 @@ use ASF::Value;
 
 # taken from django's url.py
 
-# All our pages use the same view function
 our @patterns = (
-    [qr!^/.*\.mdtext$!, normal_page => { template=>"standard_markdown.html" } ],
-);
+	[qr!\.mdtext$!, single_narrative => { template => "single_narrative.html" }],
+
+#	[qr!^/esme/sitemap\.html$!, sitemap => { headers => { title => "ESME Sitemap" }} ],
+
+) ;
 
 # for specifying interdependencies between files
-our %dependencies = ();
 
-1;
+#our %dependencies = (
+#    "/sitemap.html" => [ grep s!^content!!, glob "content/*.mdtext" ],
+#);
 
+1;
 
 =head1 LICENSE
 
@@ -32,3 +36,5 @@ our %dependencies = ();
            KIND, either express or implied.  See the License for the
            specific language governing permissions and limitations
            under the License.
+
+