Skip to content

Commit

Permalink
BUGFIX: Make Fusion code compatible to the Neos 8 Fusion parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Schmitt committed Nov 10, 2022
1 parent b780e5b commit 87a9b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion Resources/Private/Fusion/Document/HomePage.fusion
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
prototype(Sitegeist.NeosTemplate.Spectral:Document.HomePage) < prototype(Sitegeist.NeosTemplate.Spectral:Document.LandingPage)

5 changes: 3 additions & 2 deletions Resources/Private/Fusion/Document/LandingPage.fusion
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prototype(Sitegeist.NeosTemplate.Spectral:Document.LandingPage) < prototype(Neos.Fusion:Component){
prototype(Sitegeist.NeosTemplate.Spectral:Document.LandingPage) < prototype(Neos.Fusion:Component) {
content = Neos.Neos:ContentCollection {
nodePath='main'
}
Expand All @@ -8,7 +8,7 @@ prototype(Sitegeist.NeosTemplate.Spectral:Document.LandingPage) < prototype(Neos
}

renderer = Sitegeist.NeosTemplate.Spectral:Document.Base {
renderer.bodyTag.attributes.class="landing is-preload"
renderer.bodyTag.attributes.class = "landing is-preload"
content = afx`
<div id="page-wrapper">
<Sitegeist.NeosTemplate.Spectral:Document.Fragment.Header />
Expand All @@ -17,4 +17,5 @@ prototype(Sitegeist.NeosTemplate.Spectral:Document.LandingPage) < prototype(Neos
<Sitegeist.NeosTemplate.Spectral:Document.Fragment.Footer />
<Sitegeist.NeosTemplate.Spectral:Document.Fragment.Menu />
`
}
}

0 comments on commit 87a9b01

Please sign in to comment.