emmet_layout 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/emmet/layout/application.html.erb +17 -3
- data/lib/emmet/layout/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ceb7bb152610fe86f970f600432a8c350d8ef52e
|
4
|
+
data.tar.gz: 9199915cc4d260d77d07dccd7422865f46f1143d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c08f4af06fc2f055d2d0629069654ab0cdbd8a6144e69d9a9db8e6b46a821ebb89c19d26aafd19fe67fe8a165c5d5b19afc566c110a908d355fa9d4e441175ca
|
7
|
+
data.tar.gz: f26546eedcd2bb2fdd31eeb49a502c136a9fe1e0acdbfb0d717a1317dc8b4e5f9748956fc66f04d99e24e18a9e96fe305e1759d109803e9b9c41bb171dd162ba
|
@@ -3,8 +3,18 @@
|
|
3
3
|
<head>
|
4
4
|
<title><%= yield(:page_title) or 'Emmet layout' %></title>
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
<% if content_for?(:stylesheets) %>
|
7
|
+
<%= yield(:stylesheets) %>
|
8
|
+
<% else %>
|
9
|
+
<%= stylesheet_link_tag 'emmet/layout/application', media: 'all' %>
|
10
|
+
<% end %>
|
11
|
+
|
12
|
+
<% if content_for?(:javascripts) %>
|
13
|
+
<%= yield(:javascripts) %>
|
14
|
+
<% else %>
|
15
|
+
<%= javascript_include_tag 'emmet/layout/application' %>
|
16
|
+
<% end %>
|
17
|
+
|
8
18
|
<%= csrf_meta_tags %>
|
9
19
|
</head>
|
10
20
|
<body>
|
@@ -34,7 +44,11 @@
|
|
34
44
|
</nav>
|
35
45
|
<% end %>
|
36
46
|
|
37
|
-
|
47
|
+
<% if content_for?(:content) %>
|
48
|
+
<%= yield(:content) %>
|
49
|
+
<% else %>
|
50
|
+
<%= yield %>
|
51
|
+
<% end %>
|
38
52
|
|
39
53
|
<% if content_for?(:footer) %>
|
40
54
|
<%= yield(:footer) %>
|
data/lib/emmet/layout/version.rb
CHANGED