jekyll-attendease 0.6.38.1 → 0.6.39.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: 32d669e8b7fe987f5dd070626f527380609bf04e221e5e8a1b2c3965040f7c4c
4
- data.tar.gz: ca1c71afd51defe7d7dd71bcf4392f163d117dbcc562870eddafe0beb377d8b8
3
+ metadata.gz: 4f7ca6534ef3eddf6b72e1a4a3b8abcedcbc8dfddbf8a02813c987254735b94b
4
+ data.tar.gz: e329e76ea5a0ab93f7a329e0c2fed19e5d32432463709f447155f02ffda89534
5
5
  SHA512:
6
- metadata.gz: d32cceddde927c3281db260256a130b16bc7d8d541847058843661bde970997f286a24015c3592ecbc3969774f3a417a73744eb054aba335bfa4d1d7570437b0
7
- data.tar.gz: 69841bec929173ecb40864a6baceb37d582b7e320fc66b11e5da1f84e2b7a0c630c97b17a06ef2b92fac75147ae3b6c49c749f03c52d29a211d776330b5a135a
6
+ metadata.gz: 016069dc148d3c19c8cb19bb31d2e7e7e7508af064568c2df1459a30b5c7a349203b6dfcd92cda7820143723067b19a12906998e16d0b5ef7f41845a81c4a33d
7
+ data.tar.gz: f26c8b6b248b2a474ecaa5ed1bc5bead39ebd74b6a251050d9d4dcf2e4af7405fa2b727fcbb22ae880dde8c0bbdb87fd2c1fb98099c5cb04dcaaf33131ed6af3
@@ -151,14 +151,14 @@ module Jekyll
151
151
 
152
152
  def render(context)
153
153
  config = context.registers[:site].config['attendease']
154
- siteSettings = context.registers[:site].data['site_settings'].delete_if {|key, value| ['analytics', 'meta'].include? key }
155
-
154
+ siteSettings = context.registers[:site].data['site_settings'].delete_if {|key, value| ['analytics', 'meta', 'general'].include? key }
155
+
156
156
  organizationSiteSettings = {}
157
157
  if context.registers[:site].data['organization_site_settings']
158
- organizationSiteSettings = context.registers[:site].data['organization_site_settings'].delete_if {|key, value| ['analytics', 'meta'].include? key }
158
+ organizationSiteSettings = context.registers[:site].data['organization_site_settings'].delete_if {|key, value| ['analytics', 'meta', 'general'].include? key }
159
159
  end
160
160
 
161
- parent_pages_are_clickable = config['parent_pages_are_clickable']
161
+ parent_pages_are_clickable = config['parent_pages_are_clickable']
162
162
 
163
163
  page_keys = %w[id name href weight active root children parent]
164
164
 
@@ -199,6 +199,9 @@ module Jekyll
199
199
 
200
200
  env = config['environment']
201
201
 
202
+ # IMPORTANT NOTE: The script variables below must NOT be changed without making sure that blockrenderer.js and other
203
+ # related code in the platform is backwards-compatible.
204
+
202
205
  if config['mode'] == 'organization'
203
206
  script = <<_EOT
204
207
  <script type="text/javascript">
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = '0.6.38.1'
3
+ VERSION = '0.6.39.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-attendease
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.38.1
4
+ version: 0.6.39.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wood
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-09-25 00:00:00.000000000 Z
14
+ date: 2018-10-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httparty