cloudcannon-jekyll 1.5.6 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/HISTORY.md +5 -0
- data/lib/cloudcannon-jekyll/_cloudcannon/details-2.x.json +1 -1
- data/lib/cloudcannon-jekyll/_cloudcannon/details-3.0-4.x.json +1 -1
- data/lib/cloudcannon-jekyll/_cloudcannon/details.json +1 -1
- data/lib/cloudcannon-jekyll/generator.rb +1 -3
- data/lib/cloudcannon-jekyll/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: 3054f2fad52e25c68f74efaea8d7adaf4186eb3c553a1e4f0a8b0d8b7502a5dd
|
|
4
|
+
data.tar.gz: e4826cd5492f8081a32d6886b4d039ca65f464c8833d8653716a715c07112fcd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a73fd3d4cf8f9a244ac744d05dabc6361972d9fbe669dfcfe13f651bfc1d6e71c6b5e5c1c7b172f46158fb9983df788d796dbe6da32fdb2d9a7ca440907f00fa
|
|
7
|
+
data.tar.gz: 2bfb1f2757052b0c30b2052765bd3ecedc7c1d8d5ee9c7eceeccad9a358facce4f1376b0a710aa07bc4d9dbe2968131149a11cd597f14351ccab087b12772261
|
data/HISTORY.md
CHANGED
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
{% for collection in site.collections %}"{{ collection[0] | xml_escape }}": {{ collection[1].docs | cc_jsonify }}{% unless forloop.last %},{% endunless %}
|
|
24
24
|
{% endfor %}
|
|
25
25
|
},
|
|
26
|
-
"pages": {{ site.
|
|
26
|
+
"pages": {{ site.html_pages | cc_jsonify }},
|
|
27
27
|
"static-pages": {{ site.static_files | cc_static_files_jsonify }}
|
|
28
28
|
}
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
{% for collection in site.collections %}"{{ collection.label | xml_escape }}": {{ collection.docs | cc_jsonify }}{% unless forloop.last %},{% endunless %}
|
|
23
23
|
{% endfor %}
|
|
24
24
|
},
|
|
25
|
-
"pages": {{ site.
|
|
25
|
+
"pages": {{ site.html_pages | cc_jsonify }},
|
|
26
26
|
"static-pages": {{ site.static_files | cc_static_files_jsonify }}
|
|
27
27
|
}
|
|
@@ -99,9 +99,7 @@ module CloudCannonJekyll
|
|
|
99
99
|
collections_config["posts"] = { "output" => true } if Jekyll::VERSION.start_with? "2."
|
|
100
100
|
drafts = @reader.read_drafts(collections_dir)
|
|
101
101
|
|
|
102
|
-
if collections_config.key?("posts")
|
|
103
|
-
collections_config["drafts"] = collections_config["posts"]&.dup || {}
|
|
104
|
-
elsif drafts.any?
|
|
102
|
+
if (collections_config.key?("posts") && !collections_config.key?("drafts")) || drafts.any?
|
|
105
103
|
collections_config["drafts"] = {}
|
|
106
104
|
end
|
|
107
105
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudcannon-jekyll
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CloudCannon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-01-
|
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|