Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. include: NodeTypes/*
  2.  
  3. /**
  4. * Root TypoScript template for the website
  5. */
  6. page = Page {
  7. head {
  8. stylesheets.site = TYPO3.TypoScript:Template {
  9. templatePath = 'resource://Vendor.Website/Private/Templates/Page/Default.html'
  10. sectionName = 'stylesheets'
  11. }
  12. }
  13.  
  14. body {
  15. templatePath = 'resource://Vendor.Website/Private/Templates/Page/Default.html'
  16. sectionName = 'body'
  17.  
  18. parts {
  19. navigation {
  20. primary = TYPO3.Neos.NodeTypes:Menu {
  21. @class = '\\Vendor\\Website\\TypoScript\\MenuImplementation'
  22. templatePath = 'resource://SiemerArchitektur.Website/Private/Templates/TypoScriptObjects/Navigation/Primary.html'
  23.  
  24. startingPoint = ${site}
  25. includeStartingPoint = TRUE
  26. filter = 'SiemerArchitektur.Website:Page'
  27. }
  28. secondary = TYPO3.Neos:ContentCollection {
  29. nodePath = ${q(site).find('footer').property('_path')}
  30. collection = ${q(site).children('footer').children()}
  31. }
  32. language = TYPO3.Neos:DimensionMenu {
  33. templatePath = 'resource://Vendor.Website/Private/Templates/TypoScriptObjects/Navigation/Language.html'
  34.  
  35. dimension = 'language'
  36. renderHiddenInIndex = TRUE
  37. }
  38. }
  39. copyright = TYPO3.TypoScript:Template {
  40. templatePath = 'resource://Vendor.Website/Private/Templates/TypoScriptObjects/Copyright.html'
  41. }
  42. }
  43.  
  44. content {
  45. main = PrimaryContent {
  46. nodePath = 'main'
  47. }
  48. gallery = ContentCollection {
  49. nodePath = 'gallery'
  50. }
  51. footer = ContentCollection {
  52. nodePath = 'footer'
  53. }
  54. }
  55.  
  56. javascripts.site = TYPO3.TypoScript:Template {
  57. templatePath = 'resource://Vendor.Website/Private/Templates/Page/Default.html'
  58. sectionName = 'scripts'
  59. }
  60. }
  61.  
  62. bodyTag.attributes.class = ${node.depth == 2 ? 'home' : ''}
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement