jekyll-theme-assets-updated 2.4 → 2.4.1
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: e52c2fe93b822aacfe5ffcb8d89286bdb70529032bbb75675c6ecefceb93a300
|
4
|
+
data.tar.gz: aafc7b0245c5c27645f31904b6cdb01f0ffbf91a140ef95a711b81adfbca224a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbeb727985c7b64e968322b3d7179185f9aa8f83d814b7bbb27238a682774aa70f248e04e8f9cd62cab04d747e424247fd30e7f21750117ffb3e5f49c8f94070
|
7
|
+
data.tar.gz: 4b770545398bd1dc3852bacd36e320db6d0465eec5d4771ffc1219aa8c41bcdd846572762e4752bc447f35b75f5ae4b4525d48c49778df15108af1486e9af374
|
@@ -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
|
+
unless jekyll&.theme
|
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
|