From 0ca1257cf4ecbea549c0587c15bebf722b9b6ac6 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Mon, 28 Apr 2014 09:52:46 +0200 Subject: implement new navigation structure (WIP) --- source/layouts/layout.erb | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'source/layouts') diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index 5ba23c1..b0cba82 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -28,27 +28,22 @@

sublab

-
- <%= yield_content :moods %> -
- -
<%= partial "navigation" %> -
- <%= partial "banner" %> -
- <%= partial "status" %> -
+
+ <% if (section = current_page.data.section) %> + <%= partial "nav_#{section}" %> + <% end %> + +
<%= yield %>
- -
+ -- cgit v1.2.1