-
Notifications
You must be signed in to change notification settings - Fork 12
Refactor data directory #229
Comments
Mulling this over, I have a few thoughts.
|
As long as we rewrite URLs I am fine with this. |
Yep, if we do it with redirects, then the google juice is maintained. |
I still really like this idea - but this is something to consider in the "off-season" as it's a pretty hefty breaking change. Refactoring the YAML might make the cli tool easier to deal with as well. |
Which is why I worry greatly. Have you noticed how many people instantiate next year by copying last year? :) |
Having per-year sponsors seems unneeded at this point. It's so much easier to keep them the same and occasionally update; sponsors who makes changes will do so on their own schedule, not on year boundaries, and so very many cities copy from the past that they'd all be using the previous-year sponsor files if we didn't intervene. So I guess my question is, does this issue still contain anything we want? If so, let's figure out what that is, for migration to |
See devopsdays/devopsdays-web#133 for a long list of bikeshedding on this.
The model for the data directory should change to look like this:
The
meta.yml
file will contain what is in the currentyyyy-city.yml
file. Speaker bios go in the "speakers" folder. This way you can have different bios for each year, as they will likely change.Sponsors directory is also changed YOY as URL's may differ. We will likely also make a change to the
/static
directory as such:So each event gets it's own static folder in the appropriate year, as well as each sponsor. The url for the 2016 Ponyville event would be
devopsdays.org/events/2016/ponyville/logo.png
This is definitely a 2.0 enhancement, but I want to track it in the theme repo.
The text was updated successfully, but these errors were encountered: