Skip to content

Commit e9e937e

Browse files
committed
Merge pull request devopsdays#150 from jyee/more_organizer_info
Former-commit-id: 347902b
2 parents 3277263 + ec5bf68 commit e9e937e

File tree

3 files changed

+49
-3
lines changed

3 files changed

+49
-3
lines changed

data/events/2016-portland.yml

+25-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,31 @@ nav_elements:
1919
- name: sponsor
2020
- name: contact
2121
- name: conduct
22-
team: ["Bill Weiss", "Alice Goldfuss", "Alistair Drong", "Daniel Dreier", "Jason Yee", "Joe Nuspi", "Michelle Carroll", "Rich Burroughs", "Spencer Krum"]
22+
team_members:
23+
- name: "Bill Weiss"
24+
twitter: "billweiss"
25+
employer: "Puppet"
26+
- name: "Alice Goldfuss"
27+
twitter: "alicegoldfuss"
28+
employer: "New Relic"
29+
- name: "Alastair Drong"
30+
- name: "Daniel Dreier"
31+
twitter: "daniel_dreier"
32+
employer: "Puppet"
33+
- name: "Jason Yee"
34+
twitter: "@gitbisect"
35+
- name: "Joe Nuspl"
36+
twitter: "joenuspl"
37+
employer: "Workday"
38+
- name: "Michelle Carroll"
39+
twitter: "miiiiiche"
40+
employer: "Elastic"
41+
- name: "Rich Burroughs"
42+
twitter: "richburroughs"
43+
employer: "Yesmail"
44+
- name: "Spencer Krum"
45+
twitter: "nibalizer"
46+
employer: "IBM"
2347
organizer_email: "[email protected]" # Put your organizer email address here
2448
proposal_email: "[email protected]" # Put your proposal email address here
2549
sponsors: # List all of your sponsors here along with what level of sponsorship they have.
+18-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
{{ $path := split .Page.Source.File.Path "/" }}
22
{{ $event_slug := index $path 1 }}
33
{{ $e := (index .Page.Site.Data.events $event_slug) }}
4+
45
<ul>
5-
{{ range $event_organizers := $e.team }}
6-
<li>{{ $event_organizers }}</li>
6+
{{ if $e.team_members }}
7+
{{ range $e.team_members }}
8+
<li>
9+
{{ .name }}
10+
{{ if .twitter }}
11+
{{ $twitter := replace .twitter "@" "" }}
12+
- <a href="http://twitter.com/{{ $twitter }}">@{{ $twitter }}</a>
13+
{{ end }}
14+
{{ if .employer }}
15+
- <em>{{ .employer }}</em>
16+
{{ end}}
17+
</li>
18+
{{ end }}
19+
{{ else }}
20+
{{ range $event_organizers := $e.team }}
21+
<li>{{ $event_organizers }}</li>
22+
{{ end }}
723
{{ end }}
824
</ul>

yyyy-city.yml

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ nav_elements: # List of pages you want to show up in the navigation of your page
2121
- name: conduct
2222
- name: sponsor
2323
team: ["John Doe", "Jane Smith", "Sally Fields"]
24+
team_members:
25+
- name: "John Doe"
26+
- name: "Jane Smith"
27+
twitter: "devopsdays"
28+
- name: "Sally Fields"
29+
employer: "Acme Anvil Co."
2430
organizer_email: "[email protected]" # Put your organizer email address here
2531
proposal_email: "[email protected]" # Put your proposal email address here
2632
sponsors: # List all of your sponsors here along with what level of sponsorship they have.

0 commit comments

Comments
 (0)