Skip to content

Commit

Permalink
TASK: Remove unnecessary cornerstone default value
Browse files Browse the repository at this point in the history
Just creates unnecessary data in the database
  • Loading branch information
Sebobo committed Jul 28, 2023
1 parent 92deb9f commit 161b9d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Configuration/NodeTypes.Mixin.SEO.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
position: 10
isCornerstone:
type: boolean
defaultValue: false
ui:
label: i18n
reloadIfChanged: true
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Components/Application.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ prototype(Yoast.YoastSeoForNeos:Component.Application) < prototype(Neos.Fusion:T
titleOverride = ${q(documentNode).property('titleOverride')}
description = ${q(documentNode).property('metaDescription')}
focusKeyword = ${q(documentNode).property('focusKeyword')}
isCornerstone = ${q(documentNode).property('isCornerstone')}
isCornerstone = ${!!q(documentNode).property('isCornerstone')}
uriPathSegment = ${q(documentNode).property('uriPathSegment')}
isHomepage = ${site == documentNode}
isAmp = false
Expand Down

0 comments on commit 161b9d1

Please sign in to comment.