You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by ah...@apache.org on 2012/11/28 00:07:20 UTC

svn commit: r1414458 - /incubator/streams/site/trunk/lib/path.pm

Author: ahart
Date: Tue Nov 27 23:07:20 2012
New Revision: 1414458

URL: http://svn.apache.org/viewvc?rev=1414458&view=rev
Log:
add initial navigation/sidebar link content

Modified:
    incubator/streams/site/trunk/lib/path.pm

Modified: incubator/streams/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/incubator/streams/site/trunk/lib/path.pm?rev=1414458&r1=1414457&r2=1414458&view=diff
==============================================================================
--- incubator/streams/site/trunk/lib/path.pm (original)
+++ incubator/streams/site/trunk/lib/path.pm Tue Nov 27 23:07:20 2012
@@ -1,9 +1,31 @@
 package path;
 
+# Single-level navbar. Entries without an href are headers.
+our @nav = (
+    { title => "Apache Streams" },
+    { title => "Overview",
+      href => "/streams/index.html"},
+    { title => "Wiki",
+      href => ""},
+    { title => "Project" },
+    { title => "Source Code",
+      href => "/streams/source-repository.html" },
+    { title => "Mailing Lists",
+      href => "/streams/mailing-lists.html" },
+    { title => "Issue Tracking",
+      href => "https://issues.apache.org/jira/browse/STREAMS" },
+    { title => "Resources",
+      href => "/streams/resources.html" },
+    { title => "License",
+      href => "http://apache.org/licenses/LICENSE-2.0.html" },
+);
+
 # Django-style URL dispatching
 our @patterns = (
-	[qr!\.mdtext$!, single_narrative => { template => "skeleton.html" }],
-) ;
+  [qr!\.mdtext$!, single_narrative => { 
+    template => "skeleton.html", 
+    nav => \@nav }],
+);
 
 1;