From ba2251c2521a7b11d0e2b2a7627f877fd05eee2e Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 6 Apr 2014 16:36:03 +0200 Subject: move navigation to layout --- source/_navigation.html.erb | 41 +++++++++++++++++++++++++++++++++++++++++ source/index.html.erb | 41 ----------------------------------------- source/layouts/layout.erb | 11 ++++++----- 3 files changed, 47 insertions(+), 46 deletions(-) create mode 100644 source/_navigation.html.erb (limited to 'source') diff --git a/source/_navigation.html.erb b/source/_navigation.html.erb new file mode 100644 index 0000000..61ef0e4 --- /dev/null +++ b/source/_navigation.html.erb @@ -0,0 +1,41 @@ + + diff --git a/source/index.html.erb b/source/index.html.erb index 7b30670..b243ef1 100644 --- a/source/index.html.erb +++ b/source/index.html.erb @@ -2,47 +2,6 @@ title: sublab - Ein Hackerspace in Leipzig --- - -
diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index 7bdfeb1..dc454c0 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -2,18 +2,19 @@ - + - + <%= current_page.data.title || "The Middleman" %> - + <%= stylesheet_link_tag "normalize", "all" %> <%= javascript_include_tag "all" %> - + + <%= partial "navigation" %> <%= yield %> - \ No newline at end of file + -- cgit v1.2.1