jekyll-theme-assets-updated 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-theme-assets-updated.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: 70a6bbf836a6df98e9cdb7236e8cc1c9a36ddaed9069159dc20285f646ba3aa4
|
4
|
+
data.tar.gz: 3937dce0ff12bf62550a933539a39814ff9a80beef04f644db182d4eb117f9d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac868c0f32be7ee15800ee54f230ee7f3676ebfc0c6488c9c636a92bb5d18affc8c4990d66ec6e057cd114567d51f76bad0c1bb5e146aad18b9e6955833860b
|
7
|
+
data.tar.gz: 553e1c5036cd23e691698134634473fcd297cccacc4cde60634cd60a753239c9286b0dc79a77d756c757926af44fcd3cfaaefe254552b63613d56a38f722bd58
|
@@ -4,7 +4,7 @@ require 'theme'
|
|
4
4
|
# Jekyll Assets hook to discover and register assets of a gem-based Jekyll theme.
|
5
5
|
Jekyll::Assets::Hook.register :env, :before_init do
|
6
6
|
# Nothing to do if there is no theme
|
7
|
-
unless jekyll
|
7
|
+
return unless jekyll.theme.nil?
|
8
8
|
# fetch from theme's "assets" folder
|
9
9
|
fetch_theme_assets(jekyll.theme.public_assets_path)
|
10
10
|
# fetch from theme's "_assets" folder
|