middleman-sculptor 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac05e96da8c352e957d78b5417b48faddb1f9d63
|
4
|
+
data.tar.gz: 0d75ca31562527120890cb5bea3f4c0c924e4840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7246ab3b9e518bb66c1af94ef0797f16f9f5f78b2559c5b36d0b015fef50aeb6906b4353035e59796bb8b21d76e1ce1a176fef939a01b03ae67842e525c333d5
|
7
|
+
data.tar.gz: b911fb768413e28ce6bdc8bd9043cdf751e3cd097eced167b3f1eccd1bc974d4af884e03faa1303836a247e41705374503ee0f1f5279b454699d8d482a894c0b
|
@@ -2,9 +2,12 @@
|
|
2
2
|
background: $light-grey;
|
3
3
|
padding: 10px;
|
4
4
|
|
5
|
-
// compensate for first new line
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
// compensate for first new line when passing text into `code` helper
|
6
|
+
&.css,
|
7
|
+
&.scss {
|
8
|
+
code {
|
9
|
+
display: inline-block;
|
10
|
+
margin-top: -1em;
|
11
|
+
}
|
9
12
|
}
|
10
13
|
}
|
@@ -5,7 +5,8 @@ html
|
|
5
5
|
title = current_page.data.title || yield_content(:page_title) || resource_file(current_page)
|
6
6
|
meta name='viewport' content='width=device-width'
|
7
7
|
= yield_content :stylesheets
|
8
|
-
|
8
|
+
- if current_resource.metadata.options.iframe
|
9
|
+
= include_stylesheets(current_page.data.stylesheets || current_page.data.stylesheet)
|
9
10
|
|
10
11
|
body class="#{yield_content(:body_class)}"
|
11
12
|
- id = current_resource.metadata.options.id
|
@@ -15,5 +16,6 @@ html
|
|
15
16
|
|
16
17
|
= javascript_include_tag 'iframe-js'
|
17
18
|
= yield_content :javascripts
|
18
|
-
|
19
|
+
- if current_resource.metadata.options.iframe
|
20
|
+
= include_javascripts(current_page.data.javascripts || current_page.data.javascript)
|
19
21
|
= yield_content :post_body
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-sculptor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyom Semonov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|