From 7c350f363b3baf35990afdd896b05c786569ea3c Mon Sep 17 00:00:00 2001 From: Matt Stratton Date: Wed, 13 Apr 2016 07:50:27 -0500 Subject: [PATCH] Move logos and static files. Fixes #92 Several changes here - note that the event_logo shortcode was updated to reflect this. Also updated the 2016 Toronto content that was calling some of the static files. --- README.md | 2 +- content/events/2016-toronto/location.md | 4 ++-- content/events/2016-toronto/sponsor.md | 2 +- layouts/shortcodes/event_logo.html | 2 +- static/{img => }/events/2016-atlanta/logo.png | Bin static/{img => }/events/2016-chicago/logo.png | Bin static/{img => }/events/2016-minneapolis/logo.png | Bin static/{img => }/events/2016-saltlakecity/logo.png | Bin .../DevOpsDaysTorontoSponsorshipProspectus2016.pdf | Bin .../events/2016-toronto/corporate-StageOverhead.jpg | Bin static/{img => }/events/2016-toronto/logo.png | Bin 11 files changed, 5 insertions(+), 5 deletions(-) rename static/{img => }/events/2016-atlanta/logo.png (100%) rename static/{img => }/events/2016-chicago/logo.png (100%) rename static/{img => }/events/2016-minneapolis/logo.png (100%) rename static/{img => }/events/2016-saltlakecity/logo.png (100%) rename static/{img => }/events/2016-toronto/DevOpsDaysTorontoSponsorshipProspectus2016.pdf (100%) rename static/{img => }/events/2016-toronto/corporate-StageOverhead.jpg (100%) rename static/{img => }/events/2016-toronto/logo.png (100%) diff --git a/README.md b/README.md index 6979ed478fa..1a1de59ce19 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/content/events/2016-toronto/location.md b/content/events/2016-toronto/location.md index c743829fc31..d55dd7a52ab 100644 --- a/content/events/2016-toronto/location.md +++ b/content/events/2016-toronto/location.md @@ -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.

Glenn Gould Studios: 250 Front St West, Toronto, ON. M5V 3G5 - (416) 205-5000

-Glenn Gould Studios Overhead - DevOps Days Toronto +Glenn Gould Studios Overhead - DevOps Days Toronto

@@ -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? diff --git a/content/events/2016-toronto/sponsor.md b/content/events/2016-toronto/sponsor.md index cf4b50f724b..b22dfe249f4 100644 --- a/content/events/2016-toronto/sponsor.md +++ b/content/events/2016-toronto/sponsor.md @@ -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!)

We greatly value sponsors for this open event. If you are interested in sponsoring {{< email_organizers >}}. -Please click HERE to download the full sponsor prospectus for DevOpsDays Toronto 2016! +Please click HERE to download the full sponsor prospectus for DevOpsDays Toronto 2016!
diff --git a/layouts/shortcodes/event_logo.html b/layouts/shortcodes/event_logo.html index 83774334a68..8d85b058ff8 100644 --- a/layouts/shortcodes/event_logo.html +++ b/layouts/shortcodes/event_logo.html @@ -2,4 +2,4 @@ {{ $event_slug := index $path 1 }} {{ $e := (index .Page.Site.Data.events $event_slug) }} -DevOpsDays {{ $e.city }} {{ $e.year }} +DevOpsDays {{ $e.city }} {{ $e.year }} diff --git a/static/img/events/2016-atlanta/logo.png b/static/events/2016-atlanta/logo.png similarity index 100% rename from static/img/events/2016-atlanta/logo.png rename to static/events/2016-atlanta/logo.png diff --git a/static/img/events/2016-chicago/logo.png b/static/events/2016-chicago/logo.png similarity index 100% rename from static/img/events/2016-chicago/logo.png rename to static/events/2016-chicago/logo.png diff --git a/static/img/events/2016-minneapolis/logo.png b/static/events/2016-minneapolis/logo.png similarity index 100% rename from static/img/events/2016-minneapolis/logo.png rename to static/events/2016-minneapolis/logo.png diff --git a/static/img/events/2016-saltlakecity/logo.png b/static/events/2016-saltlakecity/logo.png similarity index 100% rename from static/img/events/2016-saltlakecity/logo.png rename to static/events/2016-saltlakecity/logo.png diff --git a/static/img/events/2016-toronto/DevOpsDaysTorontoSponsorshipProspectus2016.pdf b/static/events/2016-toronto/DevOpsDaysTorontoSponsorshipProspectus2016.pdf similarity index 100% rename from static/img/events/2016-toronto/DevOpsDaysTorontoSponsorshipProspectus2016.pdf rename to static/events/2016-toronto/DevOpsDaysTorontoSponsorshipProspectus2016.pdf diff --git a/static/img/events/2016-toronto/corporate-StageOverhead.jpg b/static/events/2016-toronto/corporate-StageOverhead.jpg similarity index 100% rename from static/img/events/2016-toronto/corporate-StageOverhead.jpg rename to static/events/2016-toronto/corporate-StageOverhead.jpg diff --git a/static/img/events/2016-toronto/logo.png b/static/events/2016-toronto/logo.png similarity index 100% rename from static/img/events/2016-toronto/logo.png rename to static/events/2016-toronto/logo.png