Skip to content

Commit

Permalink
Add nofollow on nav links for the 3 sites
Browse files Browse the repository at this point in the history
  • Loading branch information
nickick committed Nov 29, 2022
1 parent 84e5c72 commit db77284
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/ousd/content-types/ousd-nav-link/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
],
"required": true,
"default": "_self"
},
"nofollow": {
"type": "boolean",
"default": false,
"required": true
}
}
}
5 changes: 5 additions & 0 deletions src/api/story/content-types/story-nav-link/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
],
"default": "_self",
"required": true
},
"nofollow": {
"type": "boolean",
"default": false,
"required": true
}
}
}
10 changes: 10 additions & 0 deletions src/api/website/content-types/website-nav-link/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@
],
"default": "_self",
"required": true
},
"nofollow": {
"pluginOptions": {
"i18n": {
"localized": false
}
},
"type": "boolean",
"default": false,
"required": true
}
}
}
5 changes: 5 additions & 0 deletions src/components/shared/nav-link.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
],
"default": "_self",
"required": true
},
"nofollow": {
"type": "boolean",
"default": false,
"required": true
}
}
}

0 comments on commit db77284

Please sign in to comment.