forked from braziljs/conf-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docpad.js
180 lines (170 loc) · 6.6 KB
/
docpad.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
module.exports = {
prompts: false,
// These are variables will be accessible via our templates
templateData: {
// Conference info
conf: {
name: "Conference name",
description: "Conference description",
date: "November 15",
price: "$100",
venue: "Coco Bongo",
address: "Boulevard Kukulcan, 30",
city: "Cancún",
state: "Quintana"
},
// Site info
site: {
theme: "yellow-swan",
url: "http://confboilerplate.com",
googleanalytics: "UA-33656081-1"
},
// Active sections on the website
// to deactivate comment out with '//'
// you can also change order here and it will reflect on page
sections: [
'about',
'location',
'speakers',
'schedule',
'sponsors',
'partners'
// 'contact'
],
// Labels which you can translate to other languages
labels: {
about: "About",
location: "Location",
speakers: "Speakers",
schedule: "Schedule",
sponsors: "Sponsors",
partners: "Partners",
contact: "Contact"
},
// The entire schedule
schedule: [
{
name: "Check-in / Breakfast",
time: "9h00"
},
{
name: "Linus Torvalds",
photo: "themes/yellow-swan/img/speaker.jpg",
bio: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
company: "Linux Foundation",
link: {
href: "http://twitter.com/linus",
text: "@linus"
},
presentation: {
title: "Digging into a Linux Kernel",
description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
time: "10h00"
}
},
{
name: "Bill Gates",
photo: "themes/yellow-swan/img/speaker.jpg",
bio: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
company: "Microsoft",
link: {
href: "http://github.com/billy95",
text: "@billy95"
},
presentation: {
title: "Introducing Windows 12",
description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
time: "11h00"
}
},
{
name: "Lunch",
time: "12h00"
},
{
name: "Chuck Norris",
photo: "themes/yellow-swan/img/speaker.jpg",
bio: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
company: "Delta Command",
link: {
href: "http://twitter.com/littlechuck",
text: "@littlechuck"
},
presentation: {
title: "How to kill a elephant with one finger",
description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
time: "13h00"
}
},
{
name: "Steve Jobs",
photo: "themes/yellow-swan/img/speaker.jpg",
bio: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
company: "Apple, Inc.",
link: {
href: "http://github.com/stevie",
text: "@stevie"
},
presentation: {
title: "Presenting iPad",
description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
time: "14h00"
}
},
{
name: "Coffee-break",
time: "15h00"
},
{
name: "Mark Zuckerberg",
photo: "themes/yellow-swan/img/speaker.jpg",
bio: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
company: "Facebook",
link: {
href: "http://twitter.com/zuck",
text: "@zuck"
},
presentation: {
title: "Revealing Facebook Secrets",
description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
time: "16h00"
}
},
{
name: "Steve Wozniak",
photo: "themes/yellow-swan/img/speaker.jpg",
bio: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
company: "Apple, Inc.",
link: {
href: "http://twitter.com/woz",
text: "@woz"
},
presentation: {
title: "Why do I prefer Android over iPhone",
description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",
time: "17h00"
}
}
],
// List of Sponsors
sponsors: [
{
name: "Eventick",
logo: "themes/yellow-swan/img/sponsor.png",
url: "http://eventick.com.br"
}
],
// List of Partners
partners: [
{
name: "BrazilJS",
logo: "themes/yellow-swan/img/partner.png",
url: "http://braziljs.org"
}
],
// Theme path
getTheme: function() {
return "themes/" + this.site.theme;
}
}
};