jekyll-attendease 0.8.2 → 0.9.2
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f496291ebc4d6359cac73f3a3eee3c84768744594126c8d80ae394d797190ffa
|
4
|
+
data.tar.gz: 86a4d88e946251c8def7844b9404284f423d3ca199de33c030fac53b62792f9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87d208fcee1792a570b9c1d09ba825d8fe01ec552d0fd7ec4afb7bca9328a791c1e22a1fe8d358bff272de8ffef1ca01fcf25319d1f69fa3ca4d832cec103e1e
|
7
|
+
data.tar.gz: b98b38e79b3e73a194794507febc8297e256e266bcea91da418c9ca76a519c2e2fc88097040fa63069ec13cacd49560ead3ae5a58736f65c961b931389870647
|
@@ -1,19 +1,20 @@
|
|
1
1
|
---
|
2
2
|
attendease:
|
3
|
-
mode:
|
4
|
-
locale:
|
5
|
-
base_layout:
|
6
|
-
base_email_layout:
|
7
|
-
schedule_path_name:
|
8
|
-
presenters_path_name:
|
9
|
-
sponsors_path_name:
|
10
|
-
venue_path_name:
|
11
|
-
venues_path_name:
|
12
|
-
generate_schedule_pages:
|
13
|
-
generate_sponsor_pages:
|
14
|
-
has_sessions:
|
15
|
-
has_presenters:
|
16
|
-
has_sponsors:
|
17
|
-
has_rooms:
|
18
|
-
has_filters:
|
19
|
-
has_venues:
|
3
|
+
mode: 'event'
|
4
|
+
locale: 'en'
|
5
|
+
base_layout: 'layout'
|
6
|
+
base_email_layout: 'email'
|
7
|
+
schedule_path_name: 'schedule'
|
8
|
+
presenters_path_name: 'presenters'
|
9
|
+
sponsors_path_name: 'sponsors'
|
10
|
+
venue_path_name: 'venue'
|
11
|
+
venues_path_name: 'venues'
|
12
|
+
generate_schedule_pages: true
|
13
|
+
generate_sponsor_pages: true
|
14
|
+
has_sessions: false
|
15
|
+
has_presenters: false
|
16
|
+
has_sponsors: false
|
17
|
+
has_rooms: false
|
18
|
+
has_filters: false
|
19
|
+
has_venues: false
|
20
|
+
has_mappable: false
|
@@ -34,9 +34,9 @@ module Jekyll
|
|
34
34
|
FileUtils.mkdir_p(@attendease_data_path)
|
35
35
|
|
36
36
|
if site.config.cms_theme?
|
37
|
-
data_files = %w
|
37
|
+
data_files = %w[ site event pages portal_pages site_settings organization_site_settings mappable ].map { |m| "#{m}.json"} << 'lingo.yml'
|
38
38
|
else
|
39
|
-
data_files = %w
|
39
|
+
data_files = %w[ site event sessions presenters rooms filters venues sponsors pages site_settings mappable ].map { |m| "#{m}.json"} << 'lingo.yml'
|
40
40
|
end
|
41
41
|
|
42
42
|
# no more site in nextgen themes
|
@@ -16,7 +16,7 @@ module Jekyll
|
|
16
16
|
site.pages << SitePage.new(site, site.source, page)
|
17
17
|
|
18
18
|
zones = {}
|
19
|
-
keys = [
|
19
|
+
keys = %w[content preferences]
|
20
20
|
|
21
21
|
if page['block_instances'].length
|
22
22
|
# create zone buckets
|
@@ -28,7 +28,7 @@ module Jekyll
|
|
28
28
|
if v.is_a?(String) && v.match(/\{\{/)
|
29
29
|
# maintain the {{ t.foo }} variables
|
30
30
|
v.gsub!(/(\{\{\s*t\.[a-z_.]+\s*\}\})/, '{% raw %}\1{% endraw %}')
|
31
|
-
i[key][k] = Liquid::Template.parse(v).render(
|
31
|
+
i[key][k] = Liquid::Template.parse(v).render('event' => site.data['event'], 'mappable' => site.data['mappable'])
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -60,3 +60,4 @@ module Jekyll
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
63
|
+
|
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.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Wood
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: httparty
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
version: '0'
|
240
240
|
requirements: []
|
241
241
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.
|
242
|
+
rubygems_version: 2.7.7
|
243
243
|
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: Attendease event helper for Jekyll
|