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: cb9383421521a2c91bd1e506156d366d10e4700b051d53d99313157b811973ea
4
- data.tar.gz: 0a514d898cce2312bf7370a33555dd80eb16af8421c0f1d461ec7fc7dab7e569
3
+ metadata.gz: 3070f8c4641663e492858bf90226751b83f1fa012bb149254d566888b5c651fe
4
+ data.tar.gz: cd1780f9ed1ced80f2d48ed9155e9ad12b404b3b51dddbbd942f380ef09c207d
5
5
  SHA512:
6
- metadata.gz: 34f6fa1358c6d8670b73ea093778591407580cd6ef2629ad2fbb9c88687cabdb857f8d211c343a97657e4fefdbd7b62bec70e01f2dd8fd68e89fd259f6296070
7
- data.tar.gz: 1302278059f703c701aa64dd9af86eb8992caa916ba557e4e8a48bd31d30db483ec600e8b4bf57a5b5b80ed3cf3348b071389bd69ce674deed247136478ca058
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 hidden field, use the ID number.
55
- item['hidden'] = doc.data['indicator']['number']
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['hidden'] += ' ' + prepare_content(site, doc.data['indicator'][field])
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 hidden field, use the ID number.
73
- item['hidden'] = doc.data['goal']['number']
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['hidden'] = ''
79
+ item['id'] = ''
80
80
  end
81
81
 
82
82
  # Save this item in the language-specific search index.
@@ -1,3 +1,3 @@
1
1
  module JekyllOpenSdgPlugins
2
- VERSION = "1.0.0.rc16".freeze
2
+ VERSION = "1.0.0.rc17".freeze
3
3
  end
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.rc16
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-27 00:00:00.000000000 Z
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.6
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