From 123d7d814be97ab4e79e820b020e8761f7b4ddd0 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 10 Jun 2023 13:15:55 +0530 Subject: [PATCH] redirect old links --- 404.html | 18 ++++++++++++++++++ TODO.md | 2 +- _config.prod.yml | 1 - 3 files changed, 19 insertions(+), 2 deletions(-) delete mode 100644 _config.prod.yml diff --git a/404.html b/404.html index 086a5c9..9f3710d 100644 --- a/404.html +++ b/404.html @@ -22,4 +22,22 @@ layout: default

Page not found :(

The requested page could not be found.

+

This website only keeps articles from the last few days, so if you landed here from a link, it's likely that the article is no longer available. This page will automatically redirect to Beatroot News in such cases.

+ + \ No newline at end of file diff --git a/TODO.md b/TODO.md index db9a908..afe1c57 100644 --- a/TODO.md +++ b/TODO.md @@ -9,7 +9,7 @@ - [ ] Highlight words - [ ] Font adjustments - [ ] Clear "read articles" -- [ ] Redirect 404 articles to upstream +- [x] Redirect 404 articles to upstream - [ ] Add sign for "developing story" - [ ] Fix tap target size in bottom footer. - [ ] Make "/" in bottom footer using CSS after diff --git a/_config.prod.yml b/_config.prod.yml deleted file mode 100644 index f201b52..0000000 --- a/_config.prod.yml +++ /dev/null @@ -1 +0,0 @@ -env: production \ No newline at end of file