streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ah...@apache.org
Subject svn commit: r1414458 - /incubator/streams/site/trunk/lib/path.pm
Date Tue, 27 Nov 2012 23:07:20 GMT
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;
 



Mime
View raw message