jekyll-bookshop 1.5.0 → 1.7.0
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.rb +3 -1
- data/lib/jekyll-bookshop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7438b5eaba1bd9137c295b41adf21153a13240b692bc8403cf1748b58e8eb906
|
4
|
+
data.tar.gz: 7a1de85a107b7b52471423b3a52a4bfaa1a3a8bc73f243613c22a0ebe6c87e20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 777613006a9cc08d0d0ac04f6a4de05f04ebe9a923ee088b39bbef7b2e05fe1d603152140dd4b1efe5f46f651116118b2425794bd223422e83ce428b1e9a1b89
|
7
|
+
data.tar.gz: 2f55439d5dd80b57be876bb30b44e6a4d03d4f9f37d3333930f9776857e0087a736c9e18adf51787533e141b90732098a5bc02b0a50a3e536bf3a6db1f0556fe
|
data/lib/jekyll-bookshop.rb
CHANGED
@@ -24,6 +24,8 @@ module JekyllBookshop
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
+
params.delete('bind')
|
28
|
+
|
27
29
|
params
|
28
30
|
end
|
29
31
|
|
@@ -60,7 +62,7 @@ module JekyllBookshop
|
|
60
62
|
|
61
63
|
# Add the paths to find bookshop's styles
|
62
64
|
def self.open_bookshop(site)
|
63
|
-
bookshop_theme_path = site.theme.root + '/_bookshop'
|
65
|
+
bookshop_theme_path = site.theme ? site.theme.root : site.source + '/_bookshop'
|
64
66
|
bookshop_site_path = site.source + '/_bookshop'
|
65
67
|
site.config['bookshop_theme_path'] = Pathname.new(bookshop_theme_path).cleanpath.to_s
|
66
68
|
site.config['bookshop_site_path'] = Pathname.new(bookshop_site_path).cleanpath.to_s
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-bookshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liam Bigelow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|