summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-09-21 11:57:48 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-09-21 11:57:48 +0200
commit33fe06d9edd5bc3a637e5b0e5f979dbced8f95d0 (patch)
tree5d8370d7dd2f0ecae9de7b35fb7d952e841b4e0b /helpers
parent35239fc1f4641db1e602383b43cc29b151cde9b9 (diff)
parentf3100ad9d93fd31a043594815e260958f5ceaff0 (diff)
Merge branch 'convert-templates-to-haml' into next-tech-1
Diffstat (limited to 'helpers')
-rw-r--r--helpers/navigation_helpers.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/helpers/navigation_helpers.rb b/helpers/navigation_helpers.rb
new file mode 100644
index 0000000..f4cd56e
--- /dev/null
+++ b/helpers/navigation_helpers.rb
@@ -0,0 +1,31 @@
+module NavigationHelpers
+
+ def navigation_items
+ {
+ ["Aktuelles", "/aktuelles/index.html"] => [
+ ["Blog", "/aktuelles/blog.html"],
+ ["Kalender", "/aktuelles/kalender.html"]
+ ],
+ ["Entdecken", "/entdecken/index.html"] => [
+ ["Die Räume", "/entdecken/raeume.html"],
+ ["Der Verein", "/entdecken/verein.html"],
+ ["Das Wiki", "/entdecken/wiki.html"],
+ ["Mailinglisten", "/entdecken/mailinglisten.html"]
+ ],
+ ["Mitmachen!", "/mitmachen/index.html"] => [
+ ["Projekte", "/mitmachen/projekte.html"],
+ ["Regelmässige Treffen", "/mitmachen/regelmaessige_termine.html"]
+ ],
+ ["Unterstützen", "/unterstuetzen/index.html"] => [
+ ["Mitglied werden", "/unterstuetzen/mitglied_werden.html"],
+ ["Förderer", "/unterstuetzen/foerderer.html"],
+ ["Sponsoren", "/unterstuetzen/sponsoren.html"]
+ ],
+ ["Kontakt", "/kontakt/index.html"] => [
+ ["Wegbeschreibung", "/kontakt/lage.html"],
+ ["Kontaktmöglichkeiten", "/kontakt/kontakt.html"]
+ ]
+ }
+ end
+
+end