From 9832d63b0d73c76bd167f281a9ceb6b71af4106d Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Mon, 28 Apr 2014 13:59:22 +0200 Subject: add new sass stylesheet and refactor layout with semantic classes --- source/layouts/layout.erb | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) (limited to 'source/layouts') diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index b0cba82..3f642ff 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -12,8 +12,7 @@ <%= current_page.data.title || "sublab" %> - <%= stylesheet_link_tag "all", "bootstrap", "bootstrap-theme" %> - + <%= stylesheet_link_tag "base" %> <%#= stylesheet_link_tag "http://localhost:9393/status.css" %> <%= javascript_include_tag "all", "jquery", "bootstrap" %> @@ -21,30 +20,20 @@ -
- -
-
-
-

sublab

-
-
-
- -
- <%= partial "navigation" %> -
+ +
+

sublab

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