jekyll-open-sdg-plugins 1.0.0.rc16 → 1.0.0.rc17
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: 3070f8c4641663e492858bf90226751b83f1fa012bb149254d566888b5c651fe
|
4
|
+
data.tar.gz: cd1780f9ed1ced80f2d48ed9155e9ad12b404b3b51dddbbd942f380ef09c207d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a105eb6c417f37eeff473526baa1e706e7ff0e376c5ecf0156180d252dd3bac80f3ee4b4fa3bc6720df5779f8510081ece0c3a1390adbd59cc5a103d8a5535b
|
7
|
+
data.tar.gz: 7255ad750674953833062090a5c542208270216318123414d7a71c91afe2ce8e39e1d670806f26c93ec5b5df3646fc403bcc2ce776644a9c2c79ab79ff9370c6
|
@@ -51,13 +51,13 @@ module JekyllOpenSdgPlugins
|
|
51
51
|
item['title'] = doc.data['indicator']['name']
|
52
52
|
# For the content, use the 'page_content' field.
|
53
53
|
item['content'] = prepare_content(site, doc.data['indicator']['page_content'])
|
54
|
-
# For the
|
55
|
-
item['
|
54
|
+
# For the id field, use the ID number.
|
55
|
+
item['id'] = doc.data['indicator']['number']
|
56
56
|
# Also index any additional metadata fields.
|
57
57
|
if site.config['search_index_extra_fields']
|
58
58
|
site.config['search_index_extra_fields'].each do |field|
|
59
59
|
if doc.data['indicator'].has_key? field
|
60
|
-
item[
|
60
|
+
item[field] = prepare_content(site, doc.data['indicator'][field])
|
61
61
|
end
|
62
62
|
end
|
63
63
|
end
|
@@ -69,14 +69,14 @@ module JekyllOpenSdgPlugins
|
|
69
69
|
item['title'] = doc.data['goal']['name']
|
70
70
|
# For the content, currently nothing here.
|
71
71
|
item['content'] = ''
|
72
|
-
# For the
|
73
|
-
item['
|
72
|
+
# For the id field, use the ID number.
|
73
|
+
item['id'] = doc.data['goal']['number']
|
74
74
|
else
|
75
75
|
# Otherwise assume it is a normal Jekyll document.
|
76
76
|
item['url'] = File.join(doc.data['baseurl'], doc.url)
|
77
77
|
item['title'] = doc.data['title']
|
78
78
|
item['content'] = prepare_content(site, doc.content)
|
79
|
-
item['
|
79
|
+
item['id'] = ''
|
80
80
|
end
|
81
81
|
|
82
82
|
# Save this item in the language-specific search index.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.rc17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brock Fanning
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -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
|