summaryrefslogtreecommitdiff
path: root/retro
AgeCommit message (Collapse)Author
2013-01-21Switch to using the cached STATICFILES_STORAGE backendDan McGee
This should finally let us crank up the Expires: header to far-future values in production since updates to JS and CSS files will take effect immediately. Some minor removals were made from retro stylesheets as they were referencing files that don't actually exist because they were missing from the web archive. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Replace deprecated direct_to_template() with render() shortcutDan McGee
Now that Django actually provides a concise way to use a RequestContext object without instantiating it, we can use that rather than the old function-based generic view that worked well to do the same. Additionally, these function-based generic views will be gone in Django 1.5, so might as well make the move now. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Convert retro pages to use {% retro_static %} template tagDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Add retro_static template tagDan McGee
Unfortunately {% static %} cannot interpret any context variables passed into it, so we need to customize things in order to use it here since our resources are sorted by year. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Add favicon retro resources and correctly link themDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-23Remove actual link to PayPal from retro viewsDan McGee
The logo will still be there, but no need to have anyone click through to the actual donation box. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-18Add retro views from 2003 through 2011Dan McGee
These follow the prior commit adding the framework and an initial 2002 retro view. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-18Add a retro site view and link it to a URLDan McGee
This is from our friends at web.archive.org, who's earliest capture of the Arch Linux website was on March 28, 2002. Seems like something nice to do around the 10th anniversary of the website being up and the distro being around, and not hotlinking their servers also seems like a good idea. Signed-off-by: Dan McGee <dan@archlinux.org>