jekyll-attendease 0.6.6 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/attendease_plugin/pre_zero_point_six_link_redirect_generator.rb +3 -3
- data/lib/jekyll/attendease_plugin/schedule_data_parser.rb +16 -15
- data/lib/jekyll/attendease_plugin/schedule_generator.rb +14 -18
- data/lib/jekyll/attendease_plugin/version.rb +1 -1
- data/spec/lib/jekyll/attendease_plugin/pre_zero_point_six_link_redirect_generator_spec.rb +6 -6
- data/spec/lib/jekyll/attendease_plugin/schedule_generator_spec.rb +34 -14
- data/spec/lib/jekyll/attendease_plugin/sponsor_generator_spec.rb +1 -0
- data/templates/_includes/attendease/presenters/index.html +17 -0
- data/templates/_includes/attendease/presenters/presenter.html +17 -0
- metadata +30 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afd4844e449a958fa1116dbd4cf4d0b33e26e9c4
|
4
|
+
data.tar.gz: ea3c3b56a11008a6105dff51cc1a56630e65a691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5e36efb2b29784df2934c8c60d6e47075a059315d38fbe16a59a6224be37d7284a5c1087e03452ff5544f3c6c285a6141e875aa5e1d4b8a3498e21cf5379ad9
|
7
|
+
data.tar.gz: 6c53a6823160d6d52032554083a1eb4acf685a7844e9bb197dd9b6cb96cf0baea8933e4718fc717a2fc1905c3c8ad952736dda51f8a49f6a44a9c42e832c3e42
|
@@ -11,19 +11,19 @@ module Jekyll
|
|
11
11
|
|
12
12
|
# presenters
|
13
13
|
dir = site.config['attendease']['presenters_path_name']
|
14
|
-
schedule_generator.presenters.each do |o|
|
14
|
+
schedule_generator.schedule_data.presenters.each do |o|
|
15
15
|
site.pages << RedirectPage.new(site, site.source, File.join(dir, o['id']), File.join('/', dir, o['slug']))
|
16
16
|
end
|
17
17
|
|
18
18
|
# venues
|
19
19
|
dir = site.config['attendease']['venues_path_name']
|
20
|
-
schedule_generator.venues.each do |o|
|
20
|
+
schedule_generator.schedule_data.venues.each do |o|
|
21
21
|
site.pages << RedirectPage.new(site, site.source, File.join(dir, o['id']), File.join('/', dir, o['slug']))
|
22
22
|
end
|
23
23
|
|
24
24
|
# sessions
|
25
25
|
dir = site.config['attendease']['schedule_path_name']
|
26
|
-
schedule_generator.sessions.each do |o|
|
26
|
+
schedule_generator.schedule_data.sessions.each do |o|
|
27
27
|
site.pages << RedirectPage.new(site, site.source, File.join(dir, o['code']), File.join('/', dir, 'sessions', o['slug']))
|
28
28
|
end
|
29
29
|
end
|
@@ -13,13 +13,13 @@ module Jekyll
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def presenters
|
16
|
-
raw_presenters.each do |presenter|
|
16
|
+
@presenters ||= raw_presenters.each do |presenter|
|
17
17
|
presenter['slug'] = Helpers.parameterize("#{presenter['first_name']} #{presenter['last_name']}") + '.html'
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
21
|
def venues
|
22
|
-
raw_venues.each do |venue|
|
22
|
+
@venues ||= raw_venues.each do |venue|
|
23
23
|
venue['slug'] = Helpers.parameterize(venue['name']) + '.html'
|
24
24
|
end
|
25
25
|
end
|
@@ -29,22 +29,23 @@ module Jekyll
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def sessions
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
32
|
+
@sessions ||= begin
|
33
|
+
raw_sessions.each do |session|
|
34
|
+
if site.config['attendease']['session_slug_uses_code']
|
35
|
+
session['slug'] = session['code'] + '.html'
|
36
|
+
else
|
37
|
+
session['slug'] = Helpers.parameterize(session['name']) + '.html'
|
38
|
+
end
|
37
39
|
end
|
40
|
+
populate_sessions_with_related_data!(raw_sessions)
|
38
41
|
end
|
39
|
-
|
40
|
-
populate_sessions_with_related_data!(raw_sessions)
|
41
42
|
end
|
42
43
|
|
43
44
|
def filters
|
44
45
|
raw_filters
|
45
46
|
end
|
46
47
|
|
47
|
-
protected
|
48
|
+
protected
|
48
49
|
|
49
50
|
def raw_presenters
|
50
51
|
@raw_presenters ||= JSON.parse(File.read("#{data_path}/presenters.json")).sort{|p1, p2| p1['last_name'] <=> p2['last_name']}
|
@@ -72,7 +73,7 @@ module Jekyll
|
|
72
73
|
|
73
74
|
def populate_sessions_with_related_data!(sessions)
|
74
75
|
sessions.inject([]) do |memo, s|
|
75
|
-
session = s.select do |k, v|
|
76
|
+
session = s.select do |k, v|
|
76
77
|
%w{ id name description code speaker_ids slug }.include?(k)
|
77
78
|
end
|
78
79
|
|
@@ -85,12 +86,12 @@ module Jekyll
|
|
85
86
|
end
|
86
87
|
|
87
88
|
def get_session_presenters(session)
|
88
|
-
session_presenters = presenters.select do |presenter|
|
89
|
+
session_presenters = presenters.select do |presenter|
|
89
90
|
session['speaker_ids'].include?(presenter['id'])
|
90
91
|
end
|
91
|
-
|
92
|
+
|
92
93
|
session_presenters.inject([]) do |memo, presenter|
|
93
|
-
memo << presenter.select do |k, v|
|
94
|
+
memo << presenter.select do |k, v|
|
94
95
|
%w{ id first_name last_name company title profile_url slug }.include?(k)
|
95
96
|
end
|
96
97
|
end
|
@@ -132,7 +133,7 @@ module Jekyll
|
|
132
133
|
def get_session_instances(session)
|
133
134
|
session['instances'] ||= []
|
134
135
|
session['instances'].inject([]) do |memo, i|
|
135
|
-
instance = i.select do |k, v|
|
136
|
+
instance = i.select do |k, v|
|
136
137
|
%w{ id date time end_time duration date_formatted time_formatted end_time_formatted duration_formatted room_id }.include?(k)
|
137
138
|
end
|
138
139
|
|
@@ -2,17 +2,13 @@ module Jekyll
|
|
2
2
|
module AttendeasePlugin
|
3
3
|
class ScheduleGenerator < Generator
|
4
4
|
safe true
|
5
|
-
|
6
|
-
attr_reader :
|
7
|
-
attr_reader :presenters
|
8
|
-
attr_reader :rooms
|
9
|
-
attr_reader :filters
|
10
|
-
attr_reader :venues
|
5
|
+
|
6
|
+
attr_reader :schedule_data
|
11
7
|
|
12
8
|
def generate(site)
|
13
9
|
if site.config['attendease'] && site.config['attendease']['api_host'] && site.config['attendease']['generate_schedule_pages']
|
14
10
|
|
15
|
-
schedule_data = ScheduleDataParser.new(site)
|
11
|
+
@schedule_data = ScheduleDataParser.new(site)
|
16
12
|
|
17
13
|
#
|
18
14
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
@@ -21,18 +17,18 @@ module Jekyll
|
|
21
17
|
|
22
18
|
unless dir.nil?
|
23
19
|
if (site.config['attendease'] && site.config['attendease']['show_day_index'])
|
24
|
-
site.pages << ScheduleIndexPage.new(site, site.source, File.join(dir), schedule_data.event['dates'])
|
20
|
+
site.pages << ScheduleIndexPage.new(site, site.source, File.join(dir), @schedule_data.event['dates'])
|
25
21
|
else
|
26
|
-
site.pages << ScheduleDayPage.new(site, site.source, File.join(dir), schedule_data.event['dates'].first, schedule_data.sessions, schedule_data.event['dates'])
|
22
|
+
site.pages << ScheduleDayPage.new(site, site.source, File.join(dir), @schedule_data.event['dates'].first, @schedule_data.sessions, @schedule_data.event['dates'])
|
27
23
|
end
|
28
24
|
|
29
|
-
site.pages << ScheduleSessionsPage.new(site, site.source, File.join(dir, 'sessions'), schedule_data.sessions, schedule_data.event['dates'])
|
25
|
+
site.pages << ScheduleSessionsPage.new(site, site.source, File.join(dir, 'sessions'), @schedule_data.sessions, @schedule_data.event['dates'])
|
30
26
|
|
31
|
-
schedule_data.event['dates'].each do |day|
|
32
|
-
site.pages << ScheduleDayPage.new(site, site.source, File.join(dir, day['date']), day, schedule_data.sessions, schedule_data.event['dates'])
|
27
|
+
@schedule_data.event['dates'].each do |day|
|
28
|
+
site.pages << ScheduleDayPage.new(site, site.source, File.join(dir, day['date']), day, @schedule_data.sessions, @schedule_data.event['dates'])
|
33
29
|
end
|
34
30
|
|
35
|
-
schedule_data.sessions.each do |session|
|
31
|
+
@schedule_data.sessions.each do |session|
|
36
32
|
site.pages << ScheduleSessionPage.new(site, site.source, File.join(dir, 'sessions'), session)
|
37
33
|
end
|
38
34
|
end
|
@@ -42,11 +38,11 @@ module Jekyll
|
|
42
38
|
dir = site.config['attendease']['presenters_path_name']
|
43
39
|
|
44
40
|
unless dir.nil?
|
45
|
-
schedule_data.presenters.each do |presenter|
|
46
|
-
site.pages << PresenterPage.new(site, site.source, dir, presenter, schedule_data.sessions)
|
41
|
+
@schedule_data.presenters.each do |presenter|
|
42
|
+
site.pages << PresenterPage.new(site, site.source, dir, presenter, @schedule_data.sessions)
|
47
43
|
end
|
48
44
|
|
49
|
-
site.pages << PresentersIndexPage.new(site, site.source, File.join(dir), schedule_data.presenters)
|
45
|
+
site.pages << PresentersIndexPage.new(site, site.source, File.join(dir), @schedule_data.presenters)
|
50
46
|
end
|
51
47
|
|
52
48
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
@@ -54,11 +50,11 @@ module Jekyll
|
|
54
50
|
dir = site.config['attendease']['venues_path_name']
|
55
51
|
|
56
52
|
unless dir.nil?
|
57
|
-
schedule_data.venues.each do |venue|
|
53
|
+
@schedule_data.venues.each do |venue|
|
58
54
|
site.pages << VenuePage.new(site, site.source, dir, venue)
|
59
55
|
end
|
60
56
|
|
61
|
-
site.pages << VenuesIndexPage.new(site, site.source, File.join(dir), schedule_data.venues)
|
57
|
+
site.pages << VenuesIndexPage.new(site, site.source, File.join(dir), @schedule_data.venues)
|
62
58
|
end
|
63
59
|
end
|
64
60
|
end
|
@@ -9,29 +9,29 @@ RSpec.describe Jekyll::AttendeasePlugin::PreZeroPointSixLinkRedirectGenerator do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
it 'creates a redirect file from the old presenter.id URL to the new slug' do
|
12
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @schedule_generator.presenters.first['id'], 'index.html')
|
12
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @schedule_generator.schedule_data.presenters.first['id'], 'index.html')
|
13
13
|
|
14
14
|
expect(File.exists?(file)).to eq(true)
|
15
15
|
expect(File.file?(file)).to eq(true)
|
16
|
-
expect(File.read(file)).to include @schedule_generator.presenters.first['slug']
|
16
|
+
expect(File.read(file)).to include @schedule_generator.schedule_data.presenters.first['slug']
|
17
17
|
expect(File.read(file)).to_not include 'My awesome'
|
18
18
|
end
|
19
19
|
|
20
20
|
it 'creates a redirect file from the old venue.id URL to the new slug' do
|
21
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['venues_path_name'], @schedule_generator.venues.first['id'], 'index.html')
|
21
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['venues_path_name'], @schedule_generator.schedule_data.venues.first['id'], 'index.html')
|
22
22
|
|
23
23
|
expect(File.exists?(file)).to eq(true)
|
24
24
|
expect(File.file?(file)).to eq(true)
|
25
|
-
expect(File.read(file)).to include @schedule_generator.venues.first['slug']
|
25
|
+
expect(File.read(file)).to include @schedule_generator.schedule_data.venues.first['slug']
|
26
26
|
expect(File.read(file)).to_not include 'My awesome'
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'creates a redirect file from the old session.code URL to the new slug' do
|
30
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], @schedule_generator.sessions.first['code'], 'index.html')
|
30
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], @schedule_generator.schedule_data.sessions.first['code'], 'index.html')
|
31
31
|
|
32
32
|
expect(File.exists?(file)).to eq(true)
|
33
33
|
expect(File.file?(file)).to eq(true)
|
34
|
-
expect(File.read(file)).to include @schedule_generator.sessions.first['slug']
|
34
|
+
expect(File.read(file)).to include @schedule_generator.schedule_data.sessions.first['slug']
|
35
35
|
expect(File.read(file)).to_not include 'My awesome'
|
36
36
|
end
|
37
37
|
end
|
@@ -4,14 +4,16 @@ RSpec.describe Jekyll::AttendeasePlugin::ScheduleGenerator do
|
|
4
4
|
|
5
5
|
before(:all) do
|
6
6
|
@schedule_generator = find_generator(described_class)
|
7
|
-
@date = @schedule_generator.event['dates'].first['date']
|
8
|
-
@
|
9
|
-
@
|
10
|
-
@
|
7
|
+
@date = @schedule_generator.schedule_data.event['dates'].first['date']
|
8
|
+
@index_file = 'index.html'
|
9
|
+
@session_slug = @schedule_generator.schedule_data.sessions.first['slug']
|
10
|
+
@presenter_slug = @schedule_generator.schedule_data.presenters.first['slug']
|
11
|
+
@presenter_social = @schedule_generator.schedule_data.presenters.first['social']
|
12
|
+
@venue_slug = Jekyll::AttendeasePlugin::Helpers.parameterize(@schedule_generator.schedule_data.venues.first['name'], '_') + '.html'
|
11
13
|
end
|
12
14
|
|
13
15
|
it 'creates a presenters index page' do
|
14
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'],
|
16
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @index_file)
|
15
17
|
expect(File.exists?(file)).to eq(true)
|
16
18
|
expect(File.file?(file)).to eq(true)
|
17
19
|
end
|
@@ -23,7 +25,7 @@ RSpec.describe Jekyll::AttendeasePlugin::ScheduleGenerator do
|
|
23
25
|
end
|
24
26
|
|
25
27
|
it 'creates a venue index page' do
|
26
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['venues_path_name'],
|
28
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['venues_path_name'], @index_file)
|
27
29
|
expect(File.exists?(file)).to eq(true)
|
28
30
|
expect(File.file?(file)).to eq(true)
|
29
31
|
end
|
@@ -35,20 +37,20 @@ RSpec.describe Jekyll::AttendeasePlugin::ScheduleGenerator do
|
|
35
37
|
end
|
36
38
|
|
37
39
|
it 'creates a schedule index page' do
|
38
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'],
|
40
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], @index_file)
|
39
41
|
expect(File.exists?(file)).to eq(true)
|
40
42
|
expect(File.file?(file)).to eq(true)
|
41
43
|
end
|
42
44
|
|
43
45
|
it 'creates a schedule day index page' do
|
44
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], @date,
|
46
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], @date, @index_file)
|
45
47
|
expect(File.exists?(file)).to eq(true)
|
46
48
|
expect(File.file?(file)).to eq(true)
|
47
|
-
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'],
|
49
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], @index_file))).to include 'attendease-session-and-instance'
|
48
50
|
end
|
49
51
|
|
50
52
|
it 'creates a schedule sessions index page' do
|
51
|
-
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], 'sessions',
|
53
|
+
file = File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], 'sessions', @index_file)
|
52
54
|
expect(File.exists?(file)).to eq(true)
|
53
55
|
expect(File.file?(file)).to eq(true)
|
54
56
|
end
|
@@ -61,7 +63,7 @@ RSpec.describe Jekyll::AttendeasePlugin::ScheduleGenerator do
|
|
61
63
|
|
62
64
|
context 'presenter linking' do
|
63
65
|
it 'links presenters correctly from the presenter index page' do
|
64
|
-
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'],
|
66
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @index_file))).to include @presenter_slug
|
65
67
|
end
|
66
68
|
|
67
69
|
it 'links presenters correctly from the session page' do
|
@@ -69,9 +71,27 @@ RSpec.describe Jekyll::AttendeasePlugin::ScheduleGenerator do
|
|
69
71
|
end
|
70
72
|
end
|
71
73
|
|
74
|
+
context 'presenter social links' do
|
75
|
+
it 'includes the included social links' do
|
76
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @index_file))).to include "twitter.com/#{@presenter_social['twitter']}"
|
77
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @index_file))).to include "facebook.com/#{@presenter_social['facebook']}"
|
78
|
+
|
79
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @presenter_slug))).to include "twitter.com/#{@presenter_social['twitter']}"
|
80
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @presenter_slug))).to include "facebook.com/#{@presenter_social['facebook']}"
|
81
|
+
end
|
82
|
+
|
83
|
+
it 'does not include social links that are not there' do
|
84
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @index_file))).to_not include "linkedin"
|
85
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @index_file))).to_not include "googleplus"
|
86
|
+
|
87
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @presenter_slug))).to_not include "linkedin"
|
88
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['presenters_path_name'], @presenter_slug))).to_not include "googleplus"
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
72
92
|
context 'venue linking' do
|
73
93
|
it 'links venues correctly from the venue index page' do
|
74
|
-
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['venues_path_name'],
|
94
|
+
expect(File.read(File.join(@site.config['destination'], @site.config['attendease']['venues_path_name'], @index_file))).to include @venue_slug
|
75
95
|
end
|
76
96
|
|
77
97
|
it 'links venues correctly from the presenter page' do
|
@@ -86,7 +106,7 @@ RSpec.describe Jekyll::AttendeasePlugin::ScheduleGenerator do
|
|
86
106
|
context 'in a site with attendease.show_day_index = true' do
|
87
107
|
it 'creates the day index page' do
|
88
108
|
site = build_site({ 'attendease' => { 'show_day_index' => true } })
|
89
|
-
expect(File.read(File.join(site.config['destination'], site.config['attendease']['schedule_path_name'],
|
109
|
+
expect(File.read(File.join(site.config['destination'], site.config['attendease']['schedule_path_name'], @index_file))).to_not include 'attendease-session-and-instance'
|
90
110
|
end
|
91
111
|
end
|
92
112
|
|
@@ -94,7 +114,7 @@ RSpec.describe Jekyll::AttendeasePlugin::ScheduleGenerator do
|
|
94
114
|
it 'creates a schedule session page' do
|
95
115
|
@site = build_site({ 'attendease' => { 'session_slug_uses_code' => true } })
|
96
116
|
@schedule_generator = find_generator(described_class)
|
97
|
-
session_slug = @schedule_generator.sessions.first['slug']
|
117
|
+
session_slug = @schedule_generator.schedule_data.sessions.first['slug']
|
98
118
|
|
99
119
|
expect(File.exists?(File.join(@site.config['destination'], @site.config['attendease']['schedule_path_name'], 'sessions', session_slug))).to eq(true)
|
100
120
|
end
|
@@ -6,6 +6,7 @@ RSpec.describe Jekyll::AttendeasePlugin::SponsorGenerator do
|
|
6
6
|
template_files = Dir.chdir(@template_root) { Dir.glob('*/**.html') }
|
7
7
|
|
8
8
|
expect(File.exists?(File.join(@site.config['destination'], 'sponsors', 'index.html'))).to eq(true)
|
9
|
+
expect(File.read(File.join(@site.config['destination'], 'sponsors', 'index.html'))).to include "<h1>Sponsors</h1>"
|
9
10
|
end
|
10
11
|
|
11
12
|
end
|
@@ -22,6 +22,23 @@
|
|
22
22
|
<div class="attendease-presenter-company">
|
23
23
|
{{ presenter.company }}
|
24
24
|
</div>
|
25
|
+
|
26
|
+
{% if presenter.social %}
|
27
|
+
<div class="attendease-presenter-social">
|
28
|
+
{% if presenter.social.twitter and presenter.social.twitter != '' %}
|
29
|
+
<a class="social-icon twitter" href="https://twitter.com/{{ presenter.social.twitter }}" target="_blank"><i class="fa fa-twitter-square fa-3"></i></a>
|
30
|
+
{% endif %}
|
31
|
+
{% if presenter.social.facebook and presenter.social.facebook != '' %}
|
32
|
+
<a class="social-icon facebook" href="https://www.facebook.com/{{ presenter.social.facebook }}" target="_blank"><i class="fa fa-facebook-square fa-3"></i></a>
|
33
|
+
{% endif %}
|
34
|
+
{% if presenter.social.linkedin and presenter.social.linkedin != '' %}
|
35
|
+
<a class="social-icon linkedin" href="{{ presenter.social.linkedin }}" target="_blank"><i class="fa fa-linkedin-square"></i></a>
|
36
|
+
{% endif %}
|
37
|
+
{% if presenter.social.googleplus and presenter.social.googleplus != '' %}
|
38
|
+
<a class="social-icon googleplus" href="{{ presenter.social.googleplus }}" target="_blank"><i class="fa fa-google-plus-square"></i></a>
|
39
|
+
{% endif %}
|
40
|
+
</div>
|
41
|
+
{% endif %}
|
25
42
|
</div>
|
26
43
|
{% endfor %}
|
27
44
|
</div>
|
@@ -16,6 +16,23 @@
|
|
16
16
|
{{ page.presenter.company }}
|
17
17
|
</div>
|
18
18
|
|
19
|
+
{% if page.presenter.social %}
|
20
|
+
<div class="attendease-presenter-social">
|
21
|
+
{% if page.presenter.social.twitter and page.presenter.social.twitter != '' %}
|
22
|
+
<a class="social-icon twitter" href="https://twitter.com/{{ page.presenter.social.twitter }}" target="_blank"><i class="fa fa-twitter-square fa-3"></i></a>
|
23
|
+
{% endif %}
|
24
|
+
{% if page.presenter.social.facebook and page.presenter.social.facebook != '' %}
|
25
|
+
<a class="social-icon facebook" href="https://www.facebook.com/{{ page.presenter.social.facebook }}" target="_blank"><i class="fa fa-facebook-square fa-3"></i></a>
|
26
|
+
{% endif %}
|
27
|
+
{% if page.presenter.social.linkedin and page.presenter.social.linkedin != '' %}
|
28
|
+
<a class="social-icon linkedin" href="{{ page.presenter.social.linkedin }}" target="_blank"><i class="fa fa-linkedin-square"></i></a>
|
29
|
+
{% endif %}
|
30
|
+
{% if page.presenter.social.googleplus and page.presenter.social.googleplus != '' %}
|
31
|
+
<a class="social-icon googleplus" href="{{ page.presenter.social.googleplus }}" target="_blank"><i class="fa fa-google-plus-square"></i></a>
|
32
|
+
{% endif %}
|
33
|
+
</div>
|
34
|
+
{% endif %}
|
35
|
+
|
19
36
|
<div class="attendease-presenter-bio">
|
20
37
|
{{ page.presenter.bio | markdownify }}
|
21
38
|
</div>
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Wood
|
@@ -16,98 +16,98 @@ dependencies:
|
|
16
16
|
name: httparty
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 0.13.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 0.13.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: json
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: 1.8.1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ~>
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.8.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: i18n
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ~>
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: 0.6.9
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ~>
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 0.6.9
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: redcarpet
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ~>
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 2.3.0
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ~>
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: 2.3.0
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: bundler
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '1.3'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ~>
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '1.3'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: rake
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- -
|
89
|
+
- - '>='
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
|
-
- -
|
96
|
+
- - '>='
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: rspec
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- -
|
103
|
+
- - '>='
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
type: :development
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- -
|
110
|
+
- - '>='
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
- !ruby/object:Gem::Dependency
|
@@ -130,8 +130,6 @@ executables: []
|
|
130
130
|
extensions: []
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
|
-
- lib/jekyll-attendease.rb
|
134
|
-
- lib/jekyll/attendease_plugin.rb
|
135
133
|
- lib/jekyll/attendease_plugin/event_data_generator.rb
|
136
134
|
- lib/jekyll/attendease_plugin/event_layout_generator.rb
|
137
135
|
- lib/jekyll/attendease_plugin/event_layout_page.rb
|
@@ -153,16 +151,8 @@ files:
|
|
153
151
|
- lib/jekyll/attendease_plugin/venue_page.rb
|
154
152
|
- lib/jekyll/attendease_plugin/venues_index_page.rb
|
155
153
|
- lib/jekyll/attendease_plugin/version.rb
|
156
|
-
-
|
157
|
-
-
|
158
|
-
- spec/lib/jekyll/attendease_plugin/filters_spec.rb
|
159
|
-
- spec/lib/jekyll/attendease_plugin/helpers_spec.rb
|
160
|
-
- spec/lib/jekyll/attendease_plugin/pre_zero_point_six_link_redirect_generator_spec.rb
|
161
|
-
- spec/lib/jekyll/attendease_plugin/schedule_generator_spec.rb
|
162
|
-
- spec/lib/jekyll/attendease_plugin/sponsor_generator_spec.rb
|
163
|
-
- spec/lib/jekyll/attendease_plugin/tags_spec.rb
|
164
|
-
- spec/spec_helper.rb
|
165
|
-
- spec/support/fixtures_helpers.rb
|
154
|
+
- lib/jekyll/attendease_plugin.rb
|
155
|
+
- lib/jekyll-attendease.rb
|
166
156
|
- templates/_includes/attendease/presenters/index.html
|
167
157
|
- templates/_includes/attendease/presenters/presenter.html
|
168
158
|
- templates/_includes/attendease/redirect.html
|
@@ -175,6 +165,16 @@ files:
|
|
175
165
|
- templates/_includes/attendease/venues/index.html
|
176
166
|
- templates/_includes/attendease/venues/venue.html
|
177
167
|
- templates/layout.html
|
168
|
+
- spec/lib/jekyll/attendease_plugin/event_data_generator_spec.rb
|
169
|
+
- spec/lib/jekyll/attendease_plugin/event_layout_generator_spec.rb
|
170
|
+
- spec/lib/jekyll/attendease_plugin/filters_spec.rb
|
171
|
+
- spec/lib/jekyll/attendease_plugin/helpers_spec.rb
|
172
|
+
- spec/lib/jekyll/attendease_plugin/pre_zero_point_six_link_redirect_generator_spec.rb
|
173
|
+
- spec/lib/jekyll/attendease_plugin/schedule_generator_spec.rb
|
174
|
+
- spec/lib/jekyll/attendease_plugin/sponsor_generator_spec.rb
|
175
|
+
- spec/lib/jekyll/attendease_plugin/tags_spec.rb
|
176
|
+
- spec/spec_helper.rb
|
177
|
+
- spec/support/fixtures_helpers.rb
|
178
178
|
homepage: https://attendease.com/
|
179
179
|
licenses:
|
180
180
|
- MIT
|
@@ -185,17 +185,17 @@ require_paths:
|
|
185
185
|
- lib
|
186
186
|
required_ruby_version: !ruby/object:Gem::Requirement
|
187
187
|
requirements:
|
188
|
-
- -
|
188
|
+
- - '>='
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '0'
|
191
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
192
|
requirements:
|
193
|
-
- -
|
193
|
+
- - '>='
|
194
194
|
- !ruby/object:Gem::Version
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
197
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.0.3
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: Attendease event helper for Jekyll
|
@@ -210,4 +210,3 @@ test_files:
|
|
210
210
|
- spec/lib/jekyll/attendease_plugin/tags_spec.rb
|
211
211
|
- spec/spec_helper.rb
|
212
212
|
- spec/support/fixtures_helpers.rb
|
213
|
-
has_rdoc:
|