-
Notifications
You must be signed in to change notification settings - Fork 54
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
FIX: improve redirect page #57
Conversation
Second commit skips top-level index.html (ahem I think) |
ping @QuLogic and @tacaswell I think this would make our redirect page that flashes up for a couple of second look not so bad.... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use html5 doctype, no need for xhtml at this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thats just from the top of matplotlib.org?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in the current theme: https://github.com/matplotlib/mpl-brochure-site/blob/gh-pages/index.html
Did we not want to do this? |
@QuLogic Do we still use this script now that we have moved to selfhosting + caddy? |
For the time being yes, there are no redirects in Caddy at the moment. |
matplotlib/matplotlib.org#41 took care of this. |
This adds styling to the redirect page so when it flashes it at least doesn't look like an error..