<!doctype html>
<html ⚡ lang="{{ _cs_page.lang.locale|default("") }}">
<head>
    <meta charset="utf-8">
    {% block cshead %}
    <title>{{ _cs_metaData.title|default("") }}</title>
    <meta name="description" content="{{ _cs_metaData.description|default("") }}"/>

	<link rel="amphtml" href="{{ _cs_metaData.ampUrl|replace({'http:': 'https:'}) }}"/>

    <link rel="canonical" href="{{ _cs_metaData.canonical|default("") }}" />

    <meta property="og:title" content="{{ _cs_metaData.ogTitle|default("") }}"/>
    <meta property="og:url" content="{{ app.request.uri|default("") }}"/>
    <meta property="og:description" content="{{ _cs_metaData.ogDescription|default("") }}"/>
    <meta property="og:image" content="{{ _cs_metaData.ogImage|default("https://"~app.request.httphost~"/uploads/static/logos/logo-squared-200x200.png") }}"/>
    <meta property="og:image:width" content="{{ _cs_metaData.ogImageWidth|default("200") }}"/>
    <meta property="og:image:height" content="{{ _cs_metaData.ogImageHeight|default("200") }}"/>
    <meta property="og:type" content="{{ _cs_metaData.ogType|default("website") }}"/>
    {% endblock %}

    <meta property="og:site_name" content="{{ _cs_subsite.name|default("") }}"/>

    {% block twitter_card %}
    <meta name="twitter:card" content="summary_large_image"/>
    <meta name="twitter:url" content="{{ app.request.uri|default("") }}"/>
    <meta name="twitter:title" content="{{ _cs_metaData.ogTitle|default("") }} - {{ _cs_subsite.name|default("") }}"/>
    <meta name="twitter:description" content="{{ _cs_metaData.ogDescription|default("") }}"/>
    <meta name="twitter:image:src" content="{{ _cs_metaData.ogImage|default("") }}"/>
    {% endblock %}

    <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">

    <script async src="https://cdn.ampproject.org/v0.js"></script>
    <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
    <script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script>
    <script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script>
    <script async custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js"></script>
    <script async custom-element="amp-fit-text" src="https://cdn.ampproject.org/v0/amp-fit-text-0.1.js"></script>
    <script async custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script>
    <script async custom-element="amp-social-share" src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js"></script>
    <script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
    <script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
    <script async custom-element="amp-twitter" src="https://cdn.ampproject.org/v0/amp-twitter-0.1.js"></script>
    <script async custom-element="amp-accordion" src="https://cdn.ampproject.org/v0/amp-accordion-0.1.js"></script>
    <script async custom-element="amp-instagram" src="https://cdn.ampproject.org/v0/amp-instagram-0.1.js"></script>
    <script async custom-element="amp-facebook" src="https://cdn.ampproject.org/v0/amp-facebook-0.1.js"></script>
    <script async custom-element="amp-dailymotion" src="https://cdn.ampproject.org/v0/amp-dailymotion-0.1.js"></script>
    <script async custom-element="amp-vimeo" src="https://cdn.ampproject.org/v0/amp-vimeo-0.1.js"></script>
    <script async custom-element="amp-soundcloud" src="https://cdn.ampproject.org/v0/amp-soundcloud-0.1.js"></script>

    <style amp-custom>
        /* PROJECT STYLES */
    </style>

    <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style>
    <noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>

</head>
<body class="is-amp">
    {% set pageLocale=_cs_page.lang.locale|default(app.request.request.get("locale")) %}
    {{ render(controller('ComitiumSuite\\Bundle\\CSBundle\\Widgets\\AmpSidebar\\Controller\\WidgetController::renderAction', {parameters: {"_uuid":"76304dec7bb7aa","_locales":[_cs_page.lang.locale|default("")],"_locale":pageLocale,"_widget": {"id":33,"type":300,"name":"AmpSidebar"} ,"_fields":[],"_page":_cs_page|default(null),"_subsite":_cs_subsite|default(null), "_parameters": { } } })) }}
    <div class="o-page">
        <div class="cscontent">
            {% block cscontent %}
                <div class="row-content">
                    <cslayout class="col-xs-12 col-sm-12 col-md-12 col-lg-12" name="Content" locked="false" linked="false" id="[reference:layout-amp]" />
                </div>
            {% endblock %}
        </div>
    </div>
    {% block google_analytics %}
        <amp-analytics type="googleanalytics" id="PROJECTNAME-analytics">
            <script type="application/json">
                {
                    "vars": {
                        "account": "XXXXXXXXXX"
                    },
                    "triggers": {
                        "trackPageview": {
                            "on": "visible",
                            "request": "pageview"
                        }
                    }
                }
            </script>
        </amp-analytics>
        <amp-analytics type="comscore">
            <script type="application/json">
                {
                    "vars": {
                        "c2": "XXXXXXXXXX"
                    },
                    "extraUrlParams": {
                        "comscorekw": "amp"
                    }
                }
            </script>
        </amp-analytics>
    {% endblock %}
</body>
</html>