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

Add HTML redirect to each existing HTML file #57

Merged
merged 4 commits into from
Mar 19, 2024
Merged

Conversation

achabotl
Copy link
Member

This is a bandaid until we can redirect using Cloudflare workers or publish the site and the proceedings directly to R2.

This PR adds an HTML file for each HTML file in the proceedings. Each file is redirected to the S3 bucket.

Because it's not possible to redirect PDFs and bibtex files, it also adds a custom (and temporary) 404 page. That way, if someone tries to follow a link to a PDF or a Bibtex file, they'll be redirected to the custom 404 page, which will at least tell where they can find the files.

The html files need a publication date. The `DEFAULT_DATE` lets us use
the file system date.
Github should use it. That way, if someone tries to follow a link to a
PDF or a Bibtex file, they'll be redirected here, which will at least
tell where to look to find the files.
This is a bug in the redirect creation script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant