jekyll-attendease 0.6.25e → 0.6.25f
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a11306494bb4116e771d0f1b4d51f518d4f39c8
|
4
|
+
data.tar.gz: caf112273efd3ceedc870aa537231e262e9db21a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b7667d3c8e3d3b98a1c9352dd523ef7e6fa2230dc6c9cd042a320d4eeccde2f39c44f51c753951e10537767dd72fe9958740f63d07a2366065ca0c268302eb8
|
7
|
+
data.tar.gz: 918fb7219dce875264b04e8f84f5b5694d9dd24444a025138220cd55aa998d823cfe43941a4a6626fce2075946bcd3ca4b281d3512f5e348ed6d58888759ddd9
|
@@ -36,9 +36,6 @@ module Jekyll
|
|
36
36
|
|
37
37
|
data_files = %w{ site event sessions presenters rooms filters venues sponsors pages }.map { |m| "#{m}.json"} << 'lingo.yml'
|
38
38
|
|
39
|
-
# no more site in nextgen themes
|
40
|
-
#data_files.shift if @attendease_config['jekyll33']
|
41
|
-
|
42
39
|
data_files.each do |file_name|
|
43
40
|
update_data = true
|
44
41
|
data = nil
|
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.
|
4
|
+
version: 0.6.25f
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Wood
|
@@ -180,7 +180,6 @@ files:
|
|
180
180
|
- lib/jekyll/attendease_plugin/schedule_session_page.rb
|
181
181
|
- lib/jekyll/attendease_plugin/schedule_sessions_page.rb
|
182
182
|
- lib/jekyll/attendease_plugin/site_page.rb
|
183
|
-
- lib/jekyll/attendease_plugin/site_page_blocks_json.rb
|
184
183
|
- lib/jekyll/attendease_plugin/site_pages_generator.rb
|
185
184
|
- lib/jekyll/attendease_plugin/sponsor_generator.rb
|
186
185
|
- lib/jekyll/attendease_plugin/sponsors_index_page.rb
|
@@ -1,42 +0,0 @@
|
|
1
|
-
module Jekyll
|
2
|
-
module AttendeasePlugin
|
3
|
-
class SitePageBlocksJson < StaticFile
|
4
|
-
def initialize(site, base, page)
|
5
|
-
@site = site
|
6
|
-
@base = base
|
7
|
-
@dir = page['slug']
|
8
|
-
@name = 'index.json'
|
9
|
-
|
10
|
-
self.process(@name)
|
11
|
-
|
12
|
-
#require 'pry'
|
13
|
-
#binding.pry
|
14
|
-
#self.read_yaml(File.join(base, '_attendease', 'templates', 'pages'), 'default.html')
|
15
|
-
self.read_yaml(File.join(base, '_layouts'), "#{page['layout']}.html")
|
16
|
-
|
17
|
-
self.data['title'] = page['title']
|
18
|
-
self.data['layout'] = page['layout']
|
19
|
-
|
20
|
-
zones = {}
|
21
|
-
|
22
|
-
# create zone buckets
|
23
|
-
page['block_instances'].each do |i|
|
24
|
-
zones[i['zone']] = [] if zones[i['zone']].nil?
|
25
|
-
zones[i['zone']] << i
|
26
|
-
end
|
27
|
-
|
28
|
-
# sort each bucket by widget weight
|
29
|
-
zones.each do |k, zone|
|
30
|
-
zone.sort! { |x, y| x['weight'] <=> y['weight'] }
|
31
|
-
self.data[k] = ''
|
32
|
-
zone.each do |i|
|
33
|
-
self.data[k] << i['rendered_html']
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
self.data['site_page'] = page
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|