From db77284951381aa25346be9edfb442be3cb6b6f7 Mon Sep 17 00:00:00 2001 From: Nick Hong Date: Tue, 29 Nov 2022 15:14:59 -0600 Subject: [PATCH] Add nofollow on nav links for the 3 sites --- src/api/ousd/content-types/ousd-nav-link/schema.json | 5 +++++ src/api/story/content-types/story-nav-link/schema.json | 5 +++++ .../website/content-types/website-nav-link/schema.json | 10 ++++++++++ src/components/shared/nav-link.json | 5 +++++ 4 files changed, 25 insertions(+) diff --git a/src/api/ousd/content-types/ousd-nav-link/schema.json b/src/api/ousd/content-types/ousd-nav-link/schema.json index a4184f0..93c4861 100644 --- a/src/api/ousd/content-types/ousd-nav-link/schema.json +++ b/src/api/ousd/content-types/ousd-nav-link/schema.json @@ -45,6 +45,11 @@ ], "required": true, "default": "_self" + }, + "nofollow": { + "type": "boolean", + "default": false, + "required": true } } } diff --git a/src/api/story/content-types/story-nav-link/schema.json b/src/api/story/content-types/story-nav-link/schema.json index e0caafd..f0707e3 100644 --- a/src/api/story/content-types/story-nav-link/schema.json +++ b/src/api/story/content-types/story-nav-link/schema.json @@ -48,6 +48,11 @@ ], "default": "_self", "required": true + }, + "nofollow": { + "type": "boolean", + "default": false, + "required": true } } } diff --git a/src/api/website/content-types/website-nav-link/schema.json b/src/api/website/content-types/website-nav-link/schema.json index b9046a6..9f60f54 100644 --- a/src/api/website/content-types/website-nav-link/schema.json +++ b/src/api/website/content-types/website-nav-link/schema.json @@ -80,6 +80,16 @@ ], "default": "_self", "required": true + }, + "nofollow": { + "pluginOptions": { + "i18n": { + "localized": false + } + }, + "type": "boolean", + "default": false, + "required": true } } } diff --git a/src/components/shared/nav-link.json b/src/components/shared/nav-link.json index 05f1a6c..46eaaec 100644 --- a/src/components/shared/nav-link.json +++ b/src/components/shared/nav-link.json @@ -54,6 +54,11 @@ ], "default": "_self", "required": true + }, + "nofollow": { + "type": "boolean", + "default": false, + "required": true } } }