Skip to content

Commit

Permalink
Update: Set workspace to live on page
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Sep 29, 2022
1 parent b3315cd commit ec96640
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Resources/Private/Fusion/Component/Page.fusion
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
prototype(Garagist.Plaintext:Page) < prototype(Garagist.Plaintext:Presentation.Plaintext) {
@propTypes.content = ${PropTypes.string.isRequired}

@context {
documentNode = ${q(documentNode).context({'workspaceName': 'live'}).get(0)}
node = ${q(node).context({'workspaceName': 'live'}).get(0)}
site = ${q(site).context({'workspaceName': 'live'}).get(0)}
}

content = null

debugUrl = Neos.Neos:NodeUri {
Expand Down

0 comments on commit ec96640

Please # to comment.