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
            // footerContentElement < park.footerContentElement
            socialMenu < park.socialMenu

            metaWebsiteEntryMenu < park.metaWebsiteEntryMenu
            parkCtaUid < park.parkCtaUid
            // weatherWidget <park.weatherWidget
            // openingtimesWidget <park.openingtimesWidget
            // alertBar < park.alertBar
            // sidebarButton < park.sidebarButton
            // 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}
            2 = EXT:wabs_sp_looping_group/Resources/Private/Partials/Page/
        }
        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}park-custom.scss
        park-custom.outputfile = {$cssPath}park-custom-compiled/park-custom.css
    }

    # Include JS files @HEADER
    #includeJS {
        #100 = {$jsPath}park-custom.js
    #}
//     includeJS {
//         convious_loader=https://client.convious-app.com/loader.js?k=aquarium_de_touraine
//         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 = 9Rsp7irNSMMU--5yeqDozAToAzyq9D1XDfSxsmoFuh4
    }

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

# Include Font
page.headerData.5 = TEXT
page.headerData.5.value = <link rel="stylesheet" href=https://use.typekit.net/htr7vuy.css>