You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by si...@apache.org on 2010/11/07 18:24:43 UTC

svn commit: r1032318 - in /incubator/river/site/trunk: lib/path.pm lib/view.pm templates/sidenav.mdtext

Author: sijskes
Date: Sun Nov  7 17:24:42 2010
New Revision: 1032318

URL: http://svn.apache.org/viewvc?rev=1032318&view=rev
Log:
moved sidenav block to templates

Added:
    incubator/river/site/trunk/templates/sidenav.mdtext
      - copied unchanged from r1032279, incubator/river/site/trunk/content/sidenav.mdtext
Modified:
    incubator/river/site/trunk/lib/path.pm
    incubator/river/site/trunk/lib/view.pm

Modified: incubator/river/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/incubator/river/site/trunk/lib/path.pm?rev=1032318&r1=1032317&r2=1032318&view=diff
==============================================================================
--- incubator/river/site/trunk/lib/path.pm (original)
+++ incubator/river/site/trunk/lib/path.pm Sun Nov  7 17:24:42 2010
@@ -15,8 +15,6 @@ our @patterns = (
 
 our %dependencies = (
     "/sitemap.html" => [ grep s!^content!!, glob "content/*.mdtext" ],
-    "/index.html" => [ "content/sidenav.mdtext" ],
-    "/*.html" => [ "content/sidenav.mdtext" ],
 );
 
 1;

Modified: incubator/river/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/river/site/trunk/lib/view.pm?rev=1032318&r1=1032317&r2=1032318&view=diff
==============================================================================
--- incubator/river/site/trunk/lib/view.pm (original)
+++ incubator/river/site/trunk/lib/view.pm Sun Nov  7 17:24:42 2010
@@ -44,7 +44,7 @@ sub single_narrative {
     }
 
 	$args{sidenav} = {};
-	read_text_file "content/sidenav.mdtext", $args{sidenav} ;
+	read_text_file "templates/sidenav.mdtext", $args{sidenav} ;
 
 #	select STDOUT ;
 #	$| = 1 ;