Skip to content

Commit

Permalink
Merge pull request #21 from OriginProtocol/add-nofollow
Browse files Browse the repository at this point in the history
Add nofollow on nav links for the 3 sites
  • Loading branch information
nickick authored Nov 30, 2022
2 parents 84e5c72 + db77284 commit 6abf87b
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 6abf87b

Please sign in to comment.