jekyll-open-sdg-plugins 1.6.0 → 1.6.1

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: ea24daaae4b8498fa13522aa018ddbd941fd634de1a4560f44545f658fb01503
4
- data.tar.gz: 590a264c698030df46d090f1c279550eb814e8b41e86036711f6ba5722bf91da
3
+ metadata.gz: dc7af2adda55aeb703e6ee1f419e9a21aa294df764c23f1a4700185827ed546b
4
+ data.tar.gz: 1447e290b59a47ed87ed0bd8d838535e44c9236a4ab799b237e6ee2dc76b1afb
5
5
  SHA512:
6
- metadata.gz: cfc5cfc56bb2ad2cef06b4bd71db36b34815327a89759727bea1fed0e2f442dcf82368f378e41b9b1c00164f62b649cf559451a9023cc65bbd8027eba85fd00b
7
- data.tar.gz: 0baaae1c694dc51dd7f769364369e71b02e9c26717828d245d5934532d546c7751fc892c9194da8dff488958b0d759b6d5b622a395c6229ae5c58865eb531410
6
+ metadata.gz: 695adba003d784151e497271c83a4c356f7782f9e3b920ed024655aa786e50fd63a1fcf2602decb10f97254044ba7ed3ff20ba7c064f344996e9777246dc3a4f
7
+ data.tar.gz: d73f0c4f344a7150202863622e171061e0d56db6b2faa310316f1d5d40975e9972d86c698e93b8fcedac5f0c5313d38daee4a74ab979a13b014f737e95d145d6
@@ -31,6 +31,9 @@ module JekyllOpenSdgPlugins
31
31
  site.config['reporting_status']['status_types'].count > 0)
32
32
  reporting_status = site.data['schema'].detect {|f| f['name'] == 'reporting_status' }
33
33
  reporting_status_types = reporting_status['field']['options']
34
+ unless site.config.has_key?('reporting_status')
35
+ site.config['reporting_status'] = {}
36
+ end
34
37
  site.config['reporting_status']['status_types'] = reporting_status_types.map do |status_type|
35
38
  {
36
39
  'value' => status_type['value'],
@@ -183,7 +183,8 @@
183
183
  "Do not automatically create goals",
184
184
  "goal",
185
185
  "goal-by-target",
186
- "goal-by-target-vertical"
186
+ "goal-by-target-vertical",
187
+ "goal-with-progress"
187
188
  ]
188
189
  },
189
190
  "description": "The layout to use for the goal pages."
@@ -1422,17 +1423,6 @@
1422
1423
  }
1423
1424
  ]
1424
1425
  },
1425
- "sharethis_property": {
1426
- "type": "string",
1427
- "title": "ShareThis property",
1428
- "description": "This setting creates a ShareThis widget along the left side of every page. It should be the property id for your ShareThis account.",
1429
- "links": [
1430
- {
1431
- "rel": "More information on the sharethis setting",
1432
- "href": "https://open-sdg.readthedocs.io/en/latest/configuration/#sharethis_property"
1433
- }
1434
- ]
1435
- },
1436
1426
  "site_config_form": {
1437
1427
  "options": {"collapsed": true},
1438
1428
  "type": "object",
@@ -1,3 +1,3 @@
1
1
  module JekyllOpenSdgPlugins
2
- VERSION = "1.6.0".freeze
2
+ VERSION = "1.6.1".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.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brock Fanning
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-09 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll