forked from braziljs/conf-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docpad.js
160 lines (147 loc) · 5.18 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
module.exports = {
prompts: false,
// These are variables will be accessible via our templates
templateData: {
// Conference info
conf: {
name: "Almost functional",
description: "Where theory meets practice",
date: "April 14",
// If your event is free, just comment this line
//price: "$100",
venue: "NCR Edinburgh",
address: "10 Kittle Yards, EH9 1PJ",
city: "Edinburgh",
state: "Scotland"
},
// The Call To Action button at the header,
// If you don't want this, just remove the callToAction property.
callToAction: {
text: "Register now!",
link: "https://www.eventbrite.co.uk/e/almost-functional-tickets-21309546427"
},
// "Fork me on GitHub", if you don't want this, just remove the forkButton property
// forkButton: {
// repository: "https://github.com/braziljs/conf-boilerplate"
// },
// Site info
site: {
theme: "yellow-swan",
url: "http://braziljs.github.io/conf-boilerplate/",
// 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',
'speakers',
'location',
'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: "Arrive and mingle",
time: "1800"
},
{ // 45
name: "Edwin Brady",
photo: "themes/yellow-swan/img/edwin-hp.jpg",
bio: "Edwin is an academic who likes implementing programming languages, including Whitespace and the less well known dependently typed language Idris. When he's not doing that, he's probably either playing Go, failing to solve a crossword, or stuck on a train.",
company: "University of St Andrews",
link: {
href: "https://twitter.com/edwinbrady",
text: "@edwinbrady"
},
presentation: {
title: "TDD - Type Driven Development",
description: "Software routinely fails. If our phone or laptop crashes, we just mutter expletives and reboot it, but errors in safety or security critical systems can be disastrous. I'll suggest how we might be able to do better, by making effective use of types.",
time: "18:15"
}
},
{ // 15
name: "Bob Atkey",
photo: "themes/yellow-swan/img/bobatkey.jpg",
bio: "Bob is an academic with pretensions to usefulness. He is interested in writing down symbols, and then worrying what the symbols mean.",
company: "University of Strathclyde",
link: {
href: "https://twitter.com/bentnib",
text: "@bentnib"
},
presentation: {
title: "Multi-paradigm programming: are we there yet?",
description: "Do existing languages that combine imperative and functional styles makes things simpler or more complex? Is there a different approach that would give us the best of both worlds?",
time: "19:15"
}
},
{ // 20
name: "Michael Arntzenius",
photo: "themes/yellow-swan/img/micheal.jpg",
bio: "Michael isn't really sure what he's doing with his life, but it seems to involve staring at glowing screens and making repetitive, precise finger movements.",
company: "University of Birmingham",
link: {
href: "https://twitter.com/arntzenius",
text: "@arntzenius"
},
presentation: {
title: "What's a monoid, anyway? or, the algebra of data!",
description: "I mean, really, what IS a monoid? It's less complicatedthan it sounds! In just twenty minutes, I'll explain what a monoid is, with examples, and (bonus!) why you should care.",
time: "19:40"
}
},
{
name: "Maurice Naftalin",
photo: "themes/yellow-swan/img/maurice.jpg",
bio: "Maurice has three decades of experience as a programmer, academic and trainer. He wrote the Java Generics book with Philip Wadler and Mastering Lambdas for Oracle Press.",
company: "Morningside Light Ltd",
link: {
href: "https://twitter.com/mauricenaftalin",
text: "@mauricenaftalin"
},
presentation: {
title: "To be confirmed",
description: "TBC",
time: "20:10"
}
},
],
// List of Sponsors
sponsors: [
{
name: "NCR Edinburgh",
logo: "themes/yellow-swan/img/logo_116x116.jpg",
url: "http://ncredinburgh.com"
}
],
// List of Partners
partners: [
{
name: "NCR Edinburgh",
logo: "themes/yellow-swan/img/partner.png",
url: "http://braziljs.org"
}
],
// Theme path
getTheme: function() {
return "themes/" + this.site.theme;
},
// Site Path
getUrl: function() {
return this.site.url;
}
}
};