From c2ad6e1990c54f081d5800baee63443607967c33 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 27 Jan 2026 20:06:48 -0800 Subject: [PATCH] feat: change redirects to be in markdown instead of on the server --- content/redirects/give.md | 11 +++++++++++ content/redirects/join.md | 11 +++++++++++ content/redirects/volunteer.md | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 content/redirects/give.md create mode 100644 content/redirects/join.md create mode 100644 content/redirects/volunteer.md diff --git a/content/redirects/give.md b/content/redirects/give.md new file mode 100644 index 0000000..0fd3d38 --- /dev/null +++ b/content/redirects/give.md @@ -0,0 +1,11 @@ ++++ +title = "Donate" +template = "redirect.html" + +# Other paths in the website to redirect. For example, the below causes +# berkeley.mt/redirect-example to also be a redirect +aliases = ["/give"] + +# The page to redirect to +extra.url = "https://givingday.berkeley.edu/giving-day/90821/donate?dept=91708" ++++ diff --git a/content/redirects/join.md b/content/redirects/join.md new file mode 100644 index 0000000..a34a9c4 --- /dev/null +++ b/content/redirects/join.md @@ -0,0 +1,11 @@ ++++ +title = "Join" +template = "redirect.html" + +# Other paths in the website to redirect. For example, the below causes +# berkeley.mt/redirect-example to also be a redirect +aliases = ["/join"] + +# The page to redirect to +extra.url = "https://docs.google.com/forms/d/e/1FAIpQLScy_fIrfi47dkdawChV5tOEycmWNCn2BZ4N6vvx62RemOaBMg/viewform" ++++ diff --git a/content/redirects/volunteer.md b/content/redirects/volunteer.md new file mode 100644 index 0000000..4aae4c7 --- /dev/null +++ b/content/redirects/volunteer.md @@ -0,0 +1,11 @@ ++++ +title = "Volunteer" +template = "redirect.html" + +# Other paths in the website to redirect. For example, the below causes +# berkeley.mt/redirect-example to also be a redirect +aliases = ["/volunteer"] + +# The page to redirect to +extra.url = "https://docs.google.com/forms/d/e/1FAIpQLSclFu3ke1T9xQbNevUPkn7WqvNsSuZwj5opRDXco7448Do5Gw/viewform?usp=preview" ++++