From 2e02155da012c4dcc63c7636070c867d1a84c009 Mon Sep 17 00:00:00 2001 From: phapsides Date: Thu, 5 Jan 2017 15:06:50 +0000 Subject: [PATCH 1/5] update gem with bootstrap classes --- .../templates/layout.html.erb | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/lib/livingstyleguide/templates/layout.html.erb b/lib/livingstyleguide/templates/layout.html.erb index b300c4f..05028ad 100644 --- a/lib/livingstyleguide/templates/layout.html.erb +++ b/lib/livingstyleguide/templates/layout.html.erb @@ -17,16 +17,34 @@ <%= header %> <% unless before.empty? %> -
- <%= before %> +
+
+
+
+ <%= before %> +
+
+
<% end %> -
- <%= html %> -
+
+
+
+
+ <%= html %> +
+
+
+
<% unless after.empty? %> -
- <%= after %> +
+
+
+
+ <%= after %> +
+
+
<% end %> <%= footer %> From 8f31124cf084710c23ecdc4df0add8e76a817f07 Mon Sep 17 00:00:00 2001 From: phapsides Date: Thu, 5 Jan 2017 15:12:49 +0000 Subject: [PATCH 2/5] test space --- lib/livingstyleguide/templates/layout.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/livingstyleguide/templates/layout.html.erb b/lib/livingstyleguide/templates/layout.html.erb index 05028ad..cb345af 100644 --- a/lib/livingstyleguide/templates/layout.html.erb +++ b/lib/livingstyleguide/templates/layout.html.erb @@ -21,6 +21,7 @@
+ <%= before %>
From 88c358ec1bb7dce5dc1e4bcfba776d2406731d65 Mon Sep 17 00:00:00 2001 From: phapsides Date: Thu, 5 Jan 2017 15:47:45 +0000 Subject: [PATCH 3/5] =?UTF-8?q?update=20template=E2=80=99s=20head?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/livingstyleguide/templates/layout.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/livingstyleguide/templates/layout.html.erb b/lib/livingstyleguide/templates/layout.html.erb index cb345af..31429a6 100644 --- a/lib/livingstyleguide/templates/layout.html.erb +++ b/lib/livingstyleguide/templates/layout.html.erb @@ -5,6 +5,12 @@ + + + + + + <%= ERB::Util.h(title) %>