From aa2b996ba3387dfe15d0876edb33a5ccc43cf957 Mon Sep 17 00:00:00 2001 From: Nick Lyons <104778659+nick-mon1@users.noreply.github.com> Date: Mon, 8 Jul 2024 09:56:08 -0400 Subject: [PATCH 1/4] Add redirect from /topics to /resources --- content/topics/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/topics/_index.md b/content/topics/_index.md index 58991ed194..43ce653904 100644 --- a/content/topics/_index.md +++ b/content/topics/_index.md @@ -2,4 +2,5 @@ title: "Topics" summary: "" primary_image: "topics-og-primary-image" +redirectto: /resources --- From 4ac7fe037f73ad29ebb29089b8f34b93ac807902 Mon Sep 17 00:00:00 2001 From: Nick Lyons <104778659+nick-mon1@users.noreply.github.com> Date: Mon, 8 Jul 2024 10:12:05 -0400 Subject: [PATCH 2/4] Use full url for redirect --- content/topics/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/topics/_index.md b/content/topics/_index.md index 43ce653904..a5165872d7 100644 --- a/content/topics/_index.md +++ b/content/topics/_index.md @@ -2,5 +2,5 @@ title: "Topics" summary: "" primary_image: "topics-og-primary-image" -redirectto: /resources +redirectto: https://digital.gov/resources/ --- From 4b18009198ecd3e5250e8aa806142cc4cfe1a4bf Mon Sep 17 00:00:00 2001 From: Nick Lyons Date: Mon, 8 Jul 2024 13:59:08 -0400 Subject: [PATCH 3/4] Added expirydate --- content/topics/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/topics/_index.md b/content/topics/_index.md index a5165872d7..e91e3d617a 100644 --- a/content/topics/_index.md +++ b/content/topics/_index.md @@ -2,5 +2,5 @@ title: "Topics" summary: "" primary_image: "topics-og-primary-image" -redirectto: https://digital.gov/resources/ +expirydate: 2024-07-03 --- From 11984e6393860a1c0d1f53e83a4491181a246401 Mon Sep 17 00:00:00 2001 From: Toni Bonitto Date: Mon, 8 Jul 2024 14:28:23 -0400 Subject: [PATCH 4/4] Update _index.md restore the `redirectto`, add reason in comments --- content/topics/_index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/topics/_index.md b/content/topics/_index.md index e91e3d617a..6496046530 100644 --- a/content/topics/_index.md +++ b/content/topics/_index.md @@ -2,5 +2,8 @@ title: "Topics" summary: "" primary_image: "topics-og-primary-image" -expirydate: 2024-07-03 +redirectto: "https://digital.gov/resources/" +# Using redirectto instead of alias as there are nearly 400 Hugo shortcodes +# example {{< ref "/topics/mobile" >}} + ---