Closed gvwilson closed 9 years ago
@jduckles @r-gaia-cs @philippbayer Please have a look.
I'm sure a cleaner implementation of all of this is possible...
What about add
<meta http-equiv="refresh" content="0; url={{page.redirect}}" />
into _layouts/bootcamp.html
as
{% if page.redirect %}
<meta http-equiv="refresh" content="0; url={{page.redirect}}" />
{% endif %}
+1 @r-gaia-cs, that's how I did it with the pycon AU redirect page
I'm closing this in favor of #764.
Some sites would like to use their own home pages for workshops rather than GitHub pages. However, all of our website machinery expects to harvest workshop information from GitHub. The (hacked) solution is to allow people to create a GitHub repository containing a home page that immediately redirects to their own site. To do this, we:
redirect.html
containing a YAML header keyredirect
.mv redirect-index.html index.html
and then edit the header.bin/swc_index_validator.py
script to take a-r
flag, and then check for redirection if that flag is present.I'm sure a cleaner implementation of all of this is possible...