Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include: NodeTypes/*
- /**
- * Root TypoScript template for the website
- */
- page = Page {
- head {
- stylesheets.site = TYPO3.TypoScript:Template {
- templatePath = 'resource://Vendor.Website/Private/Templates/Page/Default.html'
- sectionName = 'stylesheets'
- }
- }
- body {
- templatePath = 'resource://Vendor.Website/Private/Templates/Page/Default.html'
- sectionName = 'body'
- parts {
- navigation {
- primary = TYPO3.Neos.NodeTypes:Menu {
- @class = '\\Vendor\\Website\\TypoScript\\MenuImplementation'
- templatePath = 'resource://SiemerArchitektur.Website/Private/Templates/TypoScriptObjects/Navigation/Primary.html'
- startingPoint = ${site}
- includeStartingPoint = TRUE
- filter = 'SiemerArchitektur.Website:Page'
- }
- secondary = TYPO3.Neos:ContentCollection {
- nodePath = ${q(site).find('footer').property('_path')}
- collection = ${q(site).children('footer').children()}
- }
- language = TYPO3.Neos:DimensionMenu {
- templatePath = 'resource://Vendor.Website/Private/Templates/TypoScriptObjects/Navigation/Language.html'
- dimension = 'language'
- renderHiddenInIndex = TRUE
- }
- }
- copyright = TYPO3.TypoScript:Template {
- templatePath = 'resource://Vendor.Website/Private/Templates/TypoScriptObjects/Copyright.html'
- }
- }
- content {
- main = PrimaryContent {
- nodePath = 'main'
- }
- gallery = ContentCollection {
- nodePath = 'gallery'
- }
- footer = ContentCollection {
- nodePath = 'footer'
- }
- }
- javascripts.site = TYPO3.TypoScript:Template {
- templatePath = 'resource://Vendor.Website/Private/Templates/Page/Default.html'
- sectionName = 'scripts'
- }
- }
- bodyTag.attributes.class = ${node.depth == 2 ? 'home' : ''}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement