jekyll-open-sdg-plugins 0.0.3 → 0.0.4
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: 4903487e2759a5ab0bf0e146b3c068c119b709f1832d2aeee26711f3389a66bb
|
4
|
+
data.tar.gz: 17a0ad052142b071f327ebb3f2a933349728655f7829049a97f15933620d8f39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c2c8dd4b8eea0f935bd2f10323373d5d965ea589fe6823d4440e2fb1d2e0a2ac511785fb32cd20c97c44c42ab30581f7f472c9a305b1c9fb6784bfc05e059aa
|
7
|
+
data.tar.gz: dd10a8aaa6d10e914e01a4147535dabd593bf52587af404f63cf4f760e2d3ac719863e4c065ea50ad117170efda1871322e3adbf4d71539d86a30c3f59619fd4
|
@@ -12,6 +12,11 @@ module Jekyll
|
|
12
12
|
return ""
|
13
13
|
end
|
14
14
|
|
15
|
+
# Also make sure it is a string, and other just return it.
|
16
|
+
if not key.is_a? String
|
17
|
+
return key
|
18
|
+
end
|
19
|
+
|
15
20
|
# Determine the language of the current page.
|
16
21
|
translations = @context.registers[:site].data['translations']
|
17
22
|
language = @context.environments.first["page"]['language']
|
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: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brock Fanning
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
version: '0'
|
61
61
|
requirements: []
|
62
62
|
rubyforge_project:
|
63
|
-
rubygems_version: 2.7.
|
63
|
+
rubygems_version: 2.7.1
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: Jekyll plugins for use with the Open SDG platform
|