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}

            imgPath = TEXT
            imgPath.value = {$imgPath}

            parkTitle = TEXT
            parkTitle.value = {$parkTitle}
            
            # 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
            customCssId < park.customCssId

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

        templateRootPaths {
            0 = {$templatePath}
            1 = {$page.fluidtemplate.templateRootPath}
        }
        partialRootPaths {
            0 = {$partialPath}
            1 = {$page.fluidtemplate.partialRootPath}
        }
        layoutRootPaths {
            0 = {$layoutPath}
            1 = {$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}entrypoint-default.scss
        park-custom.outputfile = {$cssPath}park-custom-compiled/park-custom.css
    }

    # Include JS files @HEADER
#    includeJS {
#        convious_loader=https://client.convious-app.com/loader.js?k=planete_sauvage
#        convious_loader.external = 1
#        convious_loader.excludeFromConcatenation = 1
#        convious_loader.async = 1
#    }

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

    meta{
        google-site-verification = cXxiPeFHOD01Xg8G_KO0Cq9Tqe67jhN9gcSY_f2vLys
        facebook-domain-verification = pgggbdalaipyvqtkffdo99dte4510c
    }

    shortcutIcon = EXT:wabs_sp_planete_sauvage/Resources/Public/Images/Favicon/favicon.png
}