{% extends 'view/page.html.twig' %}

<twig:block name="content">
   <twig:Page:View page="{{ body.page }}">
      {% if dbcfg.analytics.cookiebot.ID %}
         <div class="html-page html-page-cookies">
            <script id="CookieDeclaration" src="https://consent.cookiebot.com/{$dbcfg.analytics.cookiebot.ID}/cd.js" type="text/javascript" async></script>
         </div>
      {% else %}
         {{ parent() }}
      {% endif %}
   </twig:Page:View>
</twig:block>
