Skip to content

Commit 2828c22

Browse files
committed
Merge pull request #171 from devopsdays/mattstratton/remove-dep-on-friendly
Remove almost all dependencies on "friendly" field Former-commit-id: e1f9b99
2 parents 2845cb4 + 2d029d6 commit 2828c22

36 files changed

+120
-38
lines changed

data/events/2009-ghent.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 2009-ghent
2+
year: 2009
3+
city: Ghent
4+
friendly: 2009-ghent
5+
status: past
6+
startdate: 2009-01-01
7+
enddate: 2009-01-02
8+
coordinates: "47.609895, -122.330259"
9+
navigationelements: ["welcome", "contact","location", "conduct","sponsor"]
10+
sponsors:
11+
- id: chef
12+
level: platinum
13+
- id: datadog
14+
level: gold
15+
- id: arresteddevops
16+
level: media
17+
18+
sponsor_levels:
19+
- id: platinum
20+
label: Platinum
21+
- id: gold
22+
label: Gold
23+
- id: silver
24+
label: Silver
25+
- id: bronze
26+
label: Bronze
27+
- id: media
28+
label: Media

data/events/2010boston.yml renamed to data/events/2010-sydney.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: 2010boston
1+
name: 2010-sydney
22
year: 2010
3-
city: Boston
4-
friendly: 2010-boston
3+
city: Sydney
4+
friendly: 2010-sydney
55
status: past
6-
startdate: 2010-10-01
7-
enddate: 2010-10-02
6+
startdate: 2010-01-01
7+
enddate: 2010-01-02
88
coordinates: "47.609895, -122.330259"
99
navigationelements: ["welcome", "contact","location", "conduct","sponsor"]
1010
sponsors:

data/events/2012austin.yml renamed to data/events/2012-austin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2012austin
1+
name: 2012-austin
22
year: 2012
33
city: Austin
44
friendly: 2012-austin

data/events/2013london.yml renamed to data/events/2013-london.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2013london
1+
name: 2013-london
22
year: 2013
33
city: London
44
friendly: 2013-london

data/events/2014austin.yml renamed to data/events/2014-austin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2014austin
1+
name: 2014-austin
22
year: 2014
33
city: Austin
44
friendly: 2014-austin

data/events/2015-chicago.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 2015-chicago
2+
year: "2015"
3+
city: "Chicago"
4+
friendly: "2015-chicago"
5+
status: "past"
6+
startdate: 2015-08-25
7+
enddate: 2015-08-26
8+
coordinates: "47.609895, -122.330259"
9+
navigationelements: ["welcome", "contact","location", "conduct","sponsor"]
10+
sponsors:
11+
- id: chef
12+
level: platinum
13+
- id: datadog
14+
level: gold
15+
- id: arresteddevops
16+
level: media
17+
18+
sponsor_levels:
19+
- id: platinum
20+
label: Platinum
21+
- id: gold
22+
label: Gold
23+
- id: silver
24+
label: Silver
25+
- id: bronze
26+
label: Bronze
27+
- id: media
28+
label: Media

data/events/2015-warsaw.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 2015-warsaw
2+
year: "2015"
3+
city: "Warsaw"
4+
friendly: "2015-warsaw"
5+
status: "past"
6+
startdate: 2015-11-24
7+
enddate: 2015-11-25
8+
coordinates: "52.1800879, 20.9788363"
9+
navigationelements: ["welcome", "location", "register", "program", "ignites", "partners", "contact", "conduct"]
10+
sponsors:
11+
- id: allegro
12+
level: main
13+
- id: uniteam
14+
level: platinum
15+
- id: kainos
16+
level: gold
17+
- id: connectis
18+
level: regeneration-zone
19+
- id: codersmill
20+
level: sponsor
21+
- id: eventory
22+
level: partners
23+
- id: kamea
24+
level: partners
25+
- id: teetbee
26+
level: partners

data/events/2016-amsterdam.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: amsterdam2016 # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: amsterdam-2016 # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Amsterdam" # The city name of the event. Capitalize it.
44
friendly: "2016-amsterdam" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-atlanta.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016atlanta # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-atlanta # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Atlanta" # The city name of the event. Capitalize it.
44
friendly: "2016-atlanta" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-austin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016austin # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-austin # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Austin" # The city name of the event. Capitalize it.
44
friendly: "2016-austin" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-chicago.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016chicago
1+
name: 2016-chicago
22
year: "2016"
33
city: "Chicago"
44
friendly: "2016-chicago"

data/events/2016-dallas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016dallas # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-dallas # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Dallas" # The city name of the event. Capitalize it.
44
friendly: "2016-dallas" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-denver.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016denver # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-denver # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Denver" # The city name of the event. Capitalize it.
44
friendly: "2016-denver" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-detroit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016detroit # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-detroit # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Detroit" # The city name of the event. Capitalize it.
44
friendly: "2016-detroit" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-istanbul.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016istanbul # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-istanbul # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Istanbul" # The city name of the event. Capitalize it.
44
friendly: "2016-istanbul" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-kiel.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016kiel
1+
name: 2016-kiel
22
year: "2016"
33
city: "Kiel"
44
friendly: "2016-kiel"

data/events/2016-london.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016london # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-london # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "London" # The city name of the event. Capitalize it.
44
friendly: "2016-london" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-minneapolis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016minneapolis # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-minneapolis # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Minneapolis" # The city name of the event. Capitalize it.
44
friendly: "2016-minneapolis" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-newyork.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016newyork # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-newyork # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "New York" # The city name of the event. Capitalize it.
44
friendly: "2016-newyork" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-philadelphia.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016philadelphia # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-philadelphia # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Philadelphia" # The city name of the event. Capitalize it.
44
friendly: "2016-philadelphia" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-portland.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016portland # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-portland # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Portland" # The city name of the event. Capitalize it.
44
friendly: "2016-portland" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-raleigh.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016raleigh# The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-raleigh # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Raleigh" # The city name of the event. Capitalize it.
44
friendly: "2016-raleigh" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-saltlakecity.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016saltlakecity # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-saltlakecity # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Salt Lake City" # The city name of the event. Capitalize it.
44
friendly: "2016-saltlakecity" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-seattle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016seattle # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-seattle # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Seattle" # The city name of the event. Capitalize it.
44
friendly: "2016-seattle" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-singapore.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016singapore # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-singapore # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Singapore" # The city name of the event. Capitalize it.
44
friendly: "2016-singapore" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-toronto.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016toronto # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-toronto # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Toronto" # The city name of the event. Capitalize it.
44
friendly: "2016-toronto" # Four digit year and the city name in lower-case. Don't forget the dash!
@@ -21,7 +21,7 @@ sponsors: # List all of your sponsors here along with what level of sponsorship
2121
level: gold
2222
- id: pivotal
2323
level: gold
24-
- id: blendedperspectives
24+
- id: blendedperspectives
2525
level: gold
2626
- id: pagerduty
2727
level: gold

data/events/2016-vancouver.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016vancouver # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-vancouver # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Vancouver" # The city name of the event. Capitalize it.
44
friendly: "2016-vancouver" # Four digit year and the city name in lower-case. Don't forget the dash!

data/events/2016-washington-dc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 2016washingtondc # The name of the event. Four digit year with the city name in lower-case, with no spaces.
1+
name: 2016-washingtondc # The name of the event. Four digit year with the city name in lower-case, with no spaces.
22
year: "2016" # The year of the event. Make sure it is in quotes.
33
city: "Washington, D.C. " # The city name of the event. Capitalize it.
44
friendly: "2016-washington-dc" # Four digit year and the city name in lower-case. Don't forget the dash!

themes/devopsdays-legacy/layouts/partials/event_footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2>{{ .label }} Sponsors</h2>
1818
{{ end }}
1919
{{ end }}
2020
<div class = "sponsor-cta">
21-
<a href = "/events/{{ $e.friendly }}/sponsor">Become a {{ .label }} Sponsor!</a>
21+
<a href = "/events/{{ $e.name }}/sponsor">Become a {{ .label }} Sponsor!</a>
2222
</div>
2323
{{ end }}
2424

themes/devopsdays-legacy/layouts/partials/future.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h1>Future</h1>
3333
<strong>{{ . }}</strong><br/>
3434
{{ range ($.Scratch.GetSortedMapValues (print "future" .)) }}
3535
{{ $c_event := (index $.Site.Data.events .) }}
36-
<a href="/events/{{ $c_event.friendly }}">{{ $c_event.city }}: {{ dateFormat "Jan 2" $c_event.startdate }} - {{ dateFormat "Jan 2" $c_event.enddate }}</a><br />
36+
<a href="/events/{{ $c_event.name }}">{{ $c_event.city }}: {{ dateFormat "Jan 2" $c_event.startdate }} - {{ dateFormat "Jan 2" $c_event.enddate }}</a><br />
3737
{{ end }}
3838
{{ end }}
3939
</div>

themes/devopsdays-legacy/layouts/partials/map.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var markers = [
2424
{{ range $.Site.Data.events }}
2525
{{ if and (eq .status "current") ( .startdate ) }}
26-
['{{ .city}}', {{ .coordinates | safeJS }}, '{{ dateFormat "Jan 2" .startdate }}', '/events/{{ .friendly }}'],
26+
['{{ .city}}', {{ .coordinates | safeJS }}, '{{ dateFormat "Jan 2" .startdate }}', '/events/{{ .name }}'],
2727
{{ end }}
2828
{{ end }}
2929
];

themes/devopsdays-legacy/layouts/partials/upcoming_headline.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ <h3>
33
{{ range sort $.Site.Data.events "startdate" }}
44
{{ if eq .status "current" }}
55
{{ $.Scratch.Add "events" "<a href = '/events/" }}
6-
{{ $.Scratch.Add "events" .friendly }}
6+
{{ $.Scratch.Add "events" .name }}
77
{{ $.Scratch.Add "events" "/welcome'>" }}
88
{{ $.Scratch.Add "events" .city }}
99
{{ $.Scratch.Add "events" "</a> - " }}

themes/devopsdays/layouts/blog/single.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h3>
99
{{ range $.Site.Data.events }}
1010
{{ if eq .status "current" }}
1111
{{ $.Scratch.Add "events" "<a href = '/events/" }}
12-
{{ $.Scratch.Add "events" .friendly }}
12+
{{ $.Scratch.Add "events" .name }}
1313
{{ $.Scratch.Add "events" "/welcome'>" }}
1414
{{ $.Scratch.Add "events" .city }}
1515
{{ $.Scratch.Add "events" "</a> - " }}

themes/devopsdays/layouts/event/single.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1> {{ $e.city }} - {{ title .Title }} </h1>
99
<!-- Main navigation -->
1010
<ul class="nav nav-tabs">
1111
{{ range $navigation := $e.navigationelements}}
12-
<li role="presentation"><a href="/events/{{ $e.friendly }}/{{ $navigation}}">{{ $navigation }}</a></li>
12+
<li role="presentation"><a href="/events/{{ $e.name }}/{{ $navigation}}">{{ $navigation }}</a></li>
1313
{{ end }}
1414
</ul>
1515

themes/devopsdays/layouts/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h3>
99
{{ range $.Site.Data.events }}
1010
{{ if eq .status "current" }}
1111
{{ $.Scratch.Add "events" "<a href = '/events/" }}
12-
{{ $.Scratch.Add "events" .friendly }}
12+
{{ $.Scratch.Add "events" .name }}
1313
{{ $.Scratch.Add "events" "/welcome'>" }}
1414
{{ $.Scratch.Add "events" .city }}
1515
{{ $.Scratch.Add "events" "</a> - " }}

themes/devopsdays/section/blog.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h3>
99
{{ range $.Site.Data.events }}
1010
{{ if eq .status "current" }}
1111
{{ $.Scratch.Add "events" "<a href = '/events/" }}
12-
{{ $.Scratch.Add "events" .friendly }}
12+
{{ $.Scratch.Add "events" .name }}
1313
{{ $.Scratch.Add "events" "/welcome'>" }}
1414
{{ $.Scratch.Add "events" .city }}
1515
{{ $.Scratch.Add "events" "</a> - " }}

0 commit comments

Comments
 (0)