Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where should non-image static files, like a sponsorship prospectus, for an event live? #92

Closed
WhatsChrisDoing opened this issue Apr 11, 2016 · 2 comments
Assignees
Milestone

Comments

@WhatsChrisDoing
Copy link
Contributor

It wasn't clear where to a prospectus PDF in the repo. One possibility would be to create a pdf tree mirroring the img tree.

@mattstratton
Copy link
Member

Actually, this is easily solved by changing the structure of the /static directory.

Right now, it is set up like this: /static/img/events/yyyy-city.

The proposed change would be to make it /static/events/yyyy-city.

We can either have the logo.png (which is used by the code) dropped in the root of the /static/events/yyyy-city (resulting in http://www.devopsdays.org/events/2016-ponyville/logo.png) or have people create a img directory in there for their logo. I prefer to not have the overhead needed for the logo to be in a img directory as people have to remember to do so. You can create as many subdirectories as needed if you want to put OTHER images in img directory for your own purposes.

Changing this will be NBD right now as only 2016-atlanta, 2016-chicago, and 2016-minneapolis have added logos so far, so I can do it manually.

If I get a 👍 on this, I'll make the change. It's easy.

@bridgetkromhout
Copy link
Collaborator

Removing the extraneous "img" entirely sounds like the best bet. 👍

mattstratton added a commit that referenced this issue Apr 13, 2016
benjohnson77 pushed a commit to benjohnson77/devopsdays-web that referenced this issue May 22, 2016
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.


Former-commit-id: 7c350f3
benjohnson77 pushed a commit to benjohnson77/devopsdays-web that referenced this issue May 22, 2016
…-static-folder

Move logos and static files. Fixes devopsdays#92

Former-commit-id: 1df6e5f
yvovandoorn pushed a commit that referenced this issue May 22, 2016
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.
yvovandoorn pushed a commit that referenced this issue May 22, 2016
yvovandoorn pushed a commit that referenced this issue May 22, 2016
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.


Former-commit-id: 7c350f3
yvovandoorn pushed a commit that referenced this issue May 22, 2016
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.
yvovandoorn pushed a commit that referenced this issue May 22, 2016
…lder

Move logos and static files. Fixes #92

Former-commit-id: 1df6e5f
yvovandoorn pushed a commit that referenced this issue May 22, 2016
yvovandoorn pushed a commit that referenced this issue May 29, 2016
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.


Former-commit-id: 7c350f3
yvovandoorn pushed a commit that referenced this issue May 29, 2016
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.
yvovandoorn pushed a commit that referenced this issue May 29, 2016
…lder

Move logos and static files. Fixes #92

Former-commit-id: 1df6e5f
yvovandoorn pushed a commit that referenced this issue May 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants