From: Matt Date: Thu, 28 Feb 2013 19:16:15 +0000 (-0800) Subject: Fix links in docs header X-Git-Tag: v4.0.0.rc1~2^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd15ae3406f7b822568fc001a6a7f6b439dd6faf;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix links in docs header --- diff --git a/docs/controller.rb b/docs/controller.rb index c28ac5b1d..e606a982c 100644 --- a/docs/controller.rb +++ b/docs/controller.rb @@ -20,4 +20,24 @@ helpers do def code_example(code, lang=:ruby) "
" + CodeRay.scan(code, lang).div(:css => :class) + "
" end + + def foundation_home_path + '/' + end + + def features_path + '/grid.php' + end + + def add_ons_path + '/templates.php' + end + + def case_studies_path + '/case-jacquelinewest.php' + end + + def docs_path + '/docs/' + end end diff --git a/docs/layout.html.erb b/docs/layout.html.erb index af3157370..32fadcb49 100644 --- a/docs/layout.html.erb +++ b/docs/layout.html.erb @@ -15,7 +15,7 @@