jekyll-open-sdg-plugins 1.2.0.pre.beta1 → 1.2.0.pre.beta6
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/lib/jekyll-open-sdg-plugins/create_goals.rb +10 -5
- data/lib/jekyll-open-sdg-plugins/create_indicators.rb +30 -31
- data/lib/jekyll-open-sdg-plugins/create_pages.rb +10 -8
- data/lib/jekyll-open-sdg-plugins/schema-indicator-config.json +42 -33
- data/lib/jekyll-open-sdg-plugins/schema-site-config.json +161 -108
- data/lib/jekyll-open-sdg-plugins/sdg_variables.rb +1 -1
- data/lib/jekyll-open-sdg-plugins/version.rb +1 -1
- metadata +2 -2
@@ -347,7 +347,7 @@ module JekyllOpenSdgPlugins
|
|
347
347
|
doc.data['t'] = site.data['translations'][language]
|
348
348
|
|
349
349
|
# Set the remote_data_prefix for this page.
|
350
|
-
if site.config.has_key?
|
350
|
+
if site.config.has_key?('remote_data_prefix') && opensdg_is_path_remote(site.config['remote_data_prefix'])
|
351
351
|
doc.data['remote_data_prefix'] = site.config['remote_data_prefix']
|
352
352
|
else
|
353
353
|
doc.data['remote_data_prefix'] = normalize_baseurl(baseurl)
|
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.2.0.pre.
|
4
|
+
version: 1.2.0.pre.beta6
|
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-
|
11
|
+
date: 2020-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|