Skip to content

Commit

Permalink
Merge pull request #132 from t3n/1.0
Browse files Browse the repository at this point in the history
1.0
  • Loading branch information
Sebobo authored Jan 26, 2021
2 parents 9052ab4 + 3a352a1 commit 5c58a4e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ prototype(t3n.Neos.Debug:Styles) < prototype(Neos.Fusion:Tag) {

@if.notInBackend = ${!documentNode.context.inBackend}
@if.isActive = ${Configuration.setting('t3n.Neos.Debug.enabled') && Configuration.setting('t3n.Neos.Debug.htmlOutput.enabled')}
@position = 'before closingBodyTag'
}

prototype(t3n.Neos.Debug:JavaScript) < prototype(Neos.Fusion:Tag) {
Expand All @@ -24,10 +23,13 @@ prototype(t3n.Neos.Debug:JavaScript) < prototype(Neos.Fusion:Tag) {
@if.notInBackend = ${!documentNode.context.inBackend}
@if.isHtml = ${request.format == 'html'}
@if.isActive = ${Configuration.setting('t3n.Neos.Debug.enabled') && Configuration.setting('t3n.Neos.Debug.htmlOutput.enabled')}
@position = 'before closingBodyTag'
}

prototype(Neos.Neos:Page) {
head.contentCacheDebugStyle = t3n.Neos.Debug:Styles
contentCacheDebugScript = t3n.Neos.Debug:JavaScript
head.contentCacheDebugStyle = t3n.Neos.Debug:Styles {
@position = 'end'
}
contentCacheDebugScript = t3n.Neos.Debug:JavaScript {
@position = 'before closingBodyTag'
}
}

0 comments on commit 5c58a4e

Please sign in to comment.