Skip to content

Commit

Permalink
Merge pull request devopsdays#124 from devopsdays/mattstratton/change…
Browse files Browse the repository at this point in the history
…-static-folder

Move logos and static files. Fixes devopsdays#92

Former-commit-id: 1df6e5f
  • Loading branch information
mattstratton committed Apr 13, 2016
2 parents c4dbf83 + 63e9d58 commit 9ca0061
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ This is by no means complete, but a couple things to know:
4. The `welcome.md` file needs to have a field added to its frontmatter for the alias, i.e., `aliases = ["/events/2015-chicago"]`
5. Sponsors each need a file in the data directory, as such: `data/sponsors/chef-2016.yml`. Please make sure to use the year for the sponsor (just so that the old events don't end up with newer sponsor logos, etc - but don't make one just for your city). If there is an existing sponsor and you can use it, you do not need to create the data file (or the image). If your information is different, please create a new file, such as `data/sponsors/chicagochef-2016.yml`. (Note: there is an experimental feature for an "override" of the sponsor data; more on this feature as it is developed)
6. Put the images for your sponsors in the `/static/img/sponsors` directory. They need to be PNG files and named exactly after the name of the sponsor in your event file (and the corresponding sponsor data file), i.e., `/static/img/sponsors/chef.png`.
7. You will also want to add your event's logo to the following directory (creating the directory if necessary) `/static/img/events/yyyy-city/logo.png`. The file MUST be called `logo.png`.
7. You will also want to add your event's logo to the following directory (creating the directory if necessary) `/static/events/yyyy-city/logo.png`. The file MUST be called `logo.png`.
4 changes: 2 additions & 2 deletions content/events/2016-toronto/location.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type = "event"
### Conference location:
DevOps Days Toronto is being hosted at the Glenn Gould Studio located at corner of Front and John in the Canadian Broadcasting Centre. The Studio and its washrooms are wheelchair accessible.<br><br>
<b><a href="http://music.cbc.ca/#!/glenngould/studio/" target="_blank">Glenn Gould Studios</a>:</b> 250 Front St West, Toronto, ON. M5V 3G5 - (416) 205-5000<br><br>
<img width="580px" src="/img/events/2016-toronto/corporate-StageOverhead.jpg" alt="Glenn Gould Studios Overhead - DevOps Days Toronto" />
<img width="580px" src="/events/2016-toronto/corporate-StageOverhead.jpg" alt="Glenn Gould Studios Overhead - DevOps Days Toronto" />
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d1443.5872637504913!2d-79.3879314!3d43.6445371!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0000000000000000%3A0x7c5132f735d581a8!2sCBC+-+Canadian+Broadcasting+Corporation!5e0!3m2!1sen!2sca!4v1447623546736" width="580" height="400" frameborder="0" style="border:0" allowfullscreen></iframe>

<br><br>
Expand All @@ -29,4 +29,4 @@ There are a number of parking lots near the Canadian Broadcasting Centre. Please
Toronto is a world class city with a multitude of accomodation options near Glenn Gould Studios. We are investigating group space at a nearby hotel. More details will be shared in the near future.

### Tourism
Come to Toronto for DevOps Days, but check Tourism Toronto for more information on tourist packages and hotels. Sometimes a package deal can make travel less expensive and more fun. What is your interest: opera, ballet, live theatre, art gallery, museums, shopping, music, sports?
Come to Toronto for DevOps Days, but check Tourism Toronto for more information on tourist packages and hotels. Sometimes a package deal can make travel less expensive and more fun. What is your interest: opera, ballet, live theatre, art gallery, museums, shopping, music, sports?
2 changes: 1 addition & 1 deletion content/events/2016-toronto/sponsor.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ By sponsoring DevOps Days, you will be exposing your company’s brand
in this rapidly growing space. (And feel great about it, too!)<br><br>
We greatly value sponsors for this open event. If you are interested in sponsoring {{< email_organizers >}}.

<a href="/img/events/2016-toronto/DevOpsDaysTorontoSponsorshipProspectus2016.pdf" target="_blank">Please click HERE</a> to download the full sponsor prospectus for DevOpsDays Toronto 2016!
<a href="/events/2016-toronto/DevOpsDaysTorontoSponsorshipProspectus2016.pdf" target="_blank">Please click HERE</a> to download the full sponsor prospectus for DevOpsDays Toronto 2016!

<hr>

Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/event_logo.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{{ $event_slug := index $path 1 }}
{{ $e := (index .Page.Site.Data.events $event_slug) }}

<img alt="DevOpsDays {{ $e.city }} {{ $e.year }}" src="/img/events/{{ $event_slug }}/logo.png"/>
<img alt="DevOpsDays {{ $e.city }} {{ $e.year }}" src="/events/{{ $event_slug }}/logo.png"/>
File renamed without changes
File renamed without changes

0 comments on commit 9ca0061

Please sign in to comment.