<?php

/* @layoutTemplates/default/index.html.twig */
class __TwigTemplate_c0f1a11e0b1f3f55270ed64a071e562198cafa5594631a81b788e978e62cd22b extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("base.html.twig", "@layoutTemplates/default/index.html.twig", 1);
        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context)
    {
        return "base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_content($context, array $blocks = [])
    {
        echo " ";
        // line 4
        echo "
";
        // line 5
        $context["header"] = $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getSection", [0 => "header"], "method");
        // line 6
        $context["footer"] = $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getSection", [0 => "footer"], "method");
        // line 7
        echo "
    <div class=\"page\">

";
        // line 10
        if ((isset($context["header"]) ? $context["header"] : null)) {
            // line 11
            echo "        <header id=\"section-header\" class=\"header moto-section\" data-widget=\"section\" data-container=\"section\">
            ";
            // line 12
            echo $this->getAttribute((isset($context["ContentHelper"]) ? $context["ContentHelper"] : null), "RenderPageSection", [0 => (isset($context["header"]) ? $context["header"] : null), 1 => "header"], "method");
            echo "
        </header>
";
        }
        // line 15
        echo "
        <section id=\"section-content\" class=\"content page-";
        // line 16
        echo $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "id", []);
        echo " moto-section\" data-widget=\"section\" data-container=\"section\">
            ";
        // line 17
        echo $this->getAttribute((isset($context["ContentHelper"]) ? $context["ContentHelper"] : null), "RenderPageSection", [0 => (isset($context["currentPage"]) ? $context["currentPage"] : null), 1 => $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "type", [])], "method");
        echo "
        </section>
    </div>

";
        // line 21
        if ((isset($context["footer"]) ? $context["footer"] : null)) {
            // line 22
            echo "    <footer id=\"section-footer\" class=\"footer moto-section\" data-widget=\"section\" data-container=\"section\"";
            if (($this->getAttribute($this->getAttribute((isset($context["footer"]) ? $context["footer"] : null), "properties", []), "sticky", []) &&  !(isset($context["isPreview"]) ? $context["isPreview"] : null))) {
                echo " data-moto-sticky=\"{mode:'smallHeight', direction:'bottom', mobile: ";
                echo ($this->getAttribute($this->getAttribute((isset($context["footer"]) ? $context["footer"] : null), "properties", []), "stickyMobile", []) * 1);
                echo "}\"";
            }
            echo ">
        ";
            // line 23
            echo $this->getAttribute((isset($context["ContentHelper"]) ? $context["ContentHelper"] : null), "RenderPageSection", [0 => (isset($context["footer"]) ? $context["footer"] : null), 1 => "footer"], "method");
            echo "
    </footer>
";
        }
        // line 26
        echo "
";
        // line 27
        echo " ";
    }

    public function getTemplateName()
    {
        return "@layoutTemplates/default/index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  89 => 27,  86 => 26,  80 => 23,  71 => 22,  69 => 21,  62 => 17,  58 => 16,  55 => 15,  49 => 12,  46 => 11,  44 => 10,  39 => 7,  37 => 6,  35 => 5,  32 => 4,  28 => 3,  11 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "@layoutTemplates/default/index.html.twig", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/templates/layouts/default/index.html.twig");
    }
}
