jekyll-bookshop 2.0.0.pre.alpha.45 → 2.0.0.pre.alpha.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-bookshop/tags/style-tag.rb +2 -10
- data/lib/jekyll-bookshop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb67ec52b3dd76507610c427c5298cd1092e22b1e7a6c50b617a83615d8b29ad
|
4
|
+
data.tar.gz: de4a0a29b607a7519669dda12142af9aaa5ecbf465ebce4b528b2f14318be288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1a78126daf3f5c32ae7a2bccc9da5c1b8836e82a3f8ef1f242e93046a74a524b0988d3c333129153dec10fc515908a0b025fba09bb30afcde9525089e67c90
|
7
|
+
data.tar.gz: 701d79a3ae271d7e76d7ff365d3d92a92002b8643f89ead2949ddf6ba0ff94e38ad0c9d2bd27130610e685553371604683147d898c083de7da3b29e1f38e9ca9
|
@@ -8,7 +8,7 @@ module JekyllBookshop
|
|
8
8
|
bookshop_scss_files = []
|
9
9
|
site.config["bookshop_base_locations"]&.each do |location|
|
10
10
|
components_loc = Pathname.new(location + "/").cleanpath.to_s
|
11
|
-
scss_files = Dir.glob(components_loc + "/**/*.scss")&.collect do |scss_file|
|
11
|
+
scss_files = Dir.glob(components_loc + "/**/*.scss")&.sort&.collect do |scss_file|
|
12
12
|
scss_file.sub!(components_loc + "/", "").sub!(".scss", "")
|
13
13
|
end
|
14
14
|
bookshop_scss_files.push(*scss_files)
|
@@ -18,15 +18,7 @@ module JekyllBookshop
|
|
18
18
|
"@import \"#{file}\";"
|
19
19
|
end
|
20
20
|
|
21
|
-
|
22
|
-
bookshop_scss_files.join("\n")
|
23
|
-
else
|
24
|
-
"@media all, bookshop {
|
25
|
-
#{bookshop_scss_files.join("\n")}
|
26
|
-
}"
|
27
|
-
end
|
28
|
-
|
29
|
-
output_css
|
21
|
+
"@media all, bookshop {#{bookshop_scss_files.join("\n")}}"
|
30
22
|
end
|
31
23
|
end
|
32
24
|
end
|