jekyll-open-sdg-plugins 1.0.0.rc14 → 1.0.0.rc15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 072910bd8cf739ae148eaa7591424fea054852c673a5f8aa1b7b321b24819850
|
4
|
+
data.tar.gz: 9a48d94efc537e11a6136bab73af0b02e669abe34f20056a3b759a2fab36de4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea9b9cc51f58f611e6ebb1b21b59ca111d75653ca6ffbbcb682d30442cf3c67e9270cfde2e0211bfea5b506288eac45862ea47154e84a36f377507719815adb5
|
7
|
+
data.tar.gz: ef3b3fd246b58b944c51abc7f31723361f28cd3e92cae666335ee2305c8032e7f1c32a58883905180a4f954e325dca2a890fe62f95f3e903a04be19c7c5aded7
|
@@ -10,6 +10,12 @@ module JekyllOpenSdgPlugins
|
|
10
10
|
|
11
11
|
# Helper function to prepare content for the search index.
|
12
12
|
def prepare_content(site, content)
|
13
|
+
|
14
|
+
# Handle nil content.
|
15
|
+
if !content
|
16
|
+
content = ''
|
17
|
+
end
|
18
|
+
|
13
19
|
# First compile any Markdown.
|
14
20
|
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
|
15
21
|
content = converter.convert(content)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-open-sdg-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brock Fanning
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: 1.3.1
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.7.
|
84
|
+
rubygems_version: 2.7.1
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Jekyll plugins for use with the Open SDG platform
|