page = PAGE
page {
    typeNum = 0

    # FLUID TEMPLATE definitions
    10 = FLUIDTEMPLATE
    10 {
        templateName = TEXT
        templateName {
            cObject = TEXT
            cObject {
                data = pagelayout
                required = 1
                case = uppercamelcase
                split {
                    token = pagets__
                    cObjNum = 1
                    1.current = 1
                }
            }
            ifEmpty = Default
        }
        # Make variables in fluid templates available
        variables {

            SearchResultpageUid = TEXT
            SearchResultpageUid.value = {$searchResultsUid}

            # Content elements from backend FROM THE MAIN CONTENT SECTION
            # content < styles.content.get
            # content.select.where = colPos=0

            # Provide STATIC HTML OBJECTS which are defined and rendered by TypoScript to the frontend template
            logo < park.logo
            copyrightText < park.copyrightText

            # Provide SOME META DATA from "elements.ts" to the frontend template
            title < lib.pagetitle
            currentPageId < lib.currentPageId

            # Provide a park identifier name to the template (use it for body id)
            parkIdentifierTitle = TEXT
            parkIdentifierTitle.value = {$parkIdentifierTitle}

            # Provide the type of footer to the fluid page template to decide which HTML structure should be rendered
            parkHeaderType = TEXT
            parkHeaderType.value = {$parkHeaderType}

            # Provide the type of footer to the fluid page template to decide which HTML structure should be rendered
            parkFooterType = TEXT
            parkFooterType.value = {$parkFooterType}

            # Provide the type of sitemapNav to the fluid page template to decide which HTML structure should be rendered
            sitemapNavType = TEXT
            sitemapNavType.value = {$sitemapNavType}
            
            # Provide specific BACKEND CE ELEMENTS from backend to the frontend template which are also defined in the "elements.ts" file
            searchBox < park.searchBox
            footerContent < park.footerContent
            socialMenu < park.socialMenu

            metaWebsiteEntryMenu < park.metaWebsiteEntryMenu
            parkCtaUid < park.parkCtaUid
            weatherWidget <park.weatherWidget
            openingtimesWidget <park.openingtimesWidget
            alertBar < park.alertBar
            alertBox < park.alertBox
            newsletterFooterContent < park.newsletterFooterContent
            #calenderCta < park.calenderCta
            footerSocialContent < park.footerSocialContent

            # Other information like Park Booking Page UID...
            #pidList {
                #parkCtaUid = {$parkCtaUid}
            #}
        }

        templateRootPaths {
            0 = EXT:wabs_sitepackage_park/Resources/Private/Templates/Page/
            1 = {$templatePath}
            2 = {$page.fluidtemplate.templateRootPath}
        }
        partialRootPaths {
            0 = EXT:wabs_sitepackage_park/Resources/Private/Partials/Page/
            1 = {$partialPath}
            2 = {$page.fluidtemplate.partialRootPath}
        }
        layoutRootPaths {
            0 = EXT:wabs_sitepackage_park/Resources/Private/Layouts/Page/
            1 = {$layoutPath}
            2 = {$page.fluidtemplate.layoutRootPath}
        }
        # Render Navigations and make it in FLUID TEMPLATE available
    }


    # Include CSS files @HEADER
    includeCSS {
        20 = {$cssPath}park-custom.css
        park-custom = {$scssPath}park-custom.scss
        park-custom.outputfile = {$cssPath}park-custom-compiled/park-custom.css
    }

    # Include JS files @HEADER
    includeJS {
        
    }

    # Include JS files @FOOTER
    includeJSFooter {
        100 = {$jsPath}park-custom.js
    }

    shortcutIcon = EXT:pits_sp_saint_paul_parc/Resources/Public/Images/Favicon/favicon.ico
}
