<?php

/* @layoutTemplates/blog/post.html.twig */
class __TwigTemplate_4d070dec639f27cb13586c85361513ceed8b51b54a3764998c6031f2a9ba0730 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("base.html.twig", "@layoutTemplates/blog/post.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["CurrentTemplate"] = $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getTemplate", [], "method");
        // line 6
        $context["header"] = $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getSection", [0 => "header"], "method");
        // line 7
        $context["footer"] = $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getSection", [0 => "footer"], "method");
        // line 8
        echo "
    <div class=\"page\">

";
        // line 11
        if ((isset($context["header"]) ? $context["header"] : null)) {
            // line 12
            echo "        <header id=\"section-header\" class=\"header";
            if ( !(isset($context["isPreview"]) ? $context["isPreview"] : null)) {
                echo " moto-section";
            }
            echo " moto-section_inactive\">
            ";
            // line 13
            echo $this->getAttribute((isset($context["ContentHelper"]) ? $context["ContentHelper"] : null), "RenderPageSection", [0 => (isset($context["header"]) ? $context["header"] : null), 1 => "header"], "method");
            echo "
        </header>
";
        }
        // line 16
        echo "
        ";
        // line 17
        if ((isset($context["CurrentTemplate"]) ? $context["CurrentTemplate"] : null)) {
            // line 18
            echo "            <!-- With dynamic template -->
            ";
            // line 19
            echo $this->getAttribute((isset($context["ContentHelper"]) ? $context["ContentHelper"] : null), "RenderPageSection", [0 => (isset($context["CurrentTemplate"]) ? $context["CurrentTemplate"] : null), 1 => $this->getAttribute((isset($context["CurrentTemplate"]) ? $context["CurrentTemplate"] : null), "type", [])], "method");
            echo "
        ";
        } else {
            // line 21
            echo "            <!-- Without template -->
            <div class=\"moto-widget moto-widget-row row-fixed\" off-data-widget=\"row\">
                <div class=\"container-fluid\">
                    <div class=\"row\">
                        <div class=\"moto-cell col-sm-8\" off-data-container=\"container\">

                            <div class=\"moto-widget moto-widget-row\">
                                <div class=\"container-fluid\">
                                    <div class=\"row\">
                                        <div class=\"moto-cell col-sm-12\">

                                            <div class=\"moto-blog-post-meta moto-blog-post-meta_top\">
                                                <span class=\"moto-blog-post-meta-author\">Author <span class=\"\">";
            // line 33
            echo $this->getAttribute($this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getAuthor", [], "method"), "name", []);
            echo "</span></span>
                                                <span class=\"moto-blog-post-meta-publish\">Posted on <span class=\"\">";
            // line 34
            echo twig_date_format_filter($this->env, $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "created", []), $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getDateFormat", [], "method"));
            echo "</span></span>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class=\"moto-widget moto-widget-row\">
                                <div class=\"container-fluid\">
                                    <div class=\"row\">
                                        <div class=\"moto-cell col-sm-12\">

                                            <div class=\"moto-widget moto-widget-text moto-preset-default moto-spacing-top-auto moto-spacing-right-auto moto-spacing-bottom-auto moto-spacing-left-auto\" data-widget=\"text\" data-preset=\"default\" data-spacing=\"aaaa\">
                                                <div class=\"moto-widget-text-content moto-widget-text-editable\">
                                                    <h1 class=\"moto-text_system_7\">";
            // line 49
            echo $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "name", []);
            echo "</h1>
                                                </div>
                                            </div>

                                            <section id=\"section-content\" class=\"content page-";
            // line 53
            echo $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "id", []);
            echo " moto-section\" data-widget=\"section\" data-container=\"section\">
                                                ";
            // line 54
            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>
                                    </div>
                                </div>
                            </div>

                            ";
            // line 62
            if ($this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "showComments", [])) {
                // line 63
                echo "                                <div class=\"moto-widget moto-widget-row\">
                                    <div class=\"container-fluid\">
                                        <div class=\"row\">
                                            <div class=\"moto-cell col-sm-12\">
                                        ";
                // line 67
                echo $this->env->getExtension('Moto\Twig\Extension\WidgetsExtension')->renderWidget($this->env, "disqus", ["spacing" => ["top" => "auto", "right" => "auto", "bottom" => "auto", "left" => "auto"], "params" => ["url" => "@dynamic"]]);
                echo "
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            ";
            }
            // line 73
            echo "
                        </div>
                        <div class=\"moto-cell col-sm-4\" off-data-container=\"container\">
                            ";
            // line 76
            echo $this->env->getExtension('Moto\Twig\Extension\WidgetsExtension')->renderWidget($this->env, "blog.recent_posts");
            echo "
                        </div>

                    </div>
                </div>
            </div>

        ";
        }
        // line 84
        echo "
    </div>

";
        // line 87
        if ((isset($context["footer"]) ? $context["footer"] : null)) {
            // line 88
            echo "    <footer id=\"section-footer\" class=\"footer";
            if ( !(isset($context["isPreview"]) ? $context["isPreview"] : null)) {
                echo " moto-section";
            }
            echo " moto-section_inactive\" ";
            if (($this->getAttribute($this->getAttribute((isset($context["footer"]) ? $context["footer"] : null), "properties", []), "sticky", []) &&  !(isset($context["isPreview"]) ? $context["isPreview"] : null))) {
                echo " moto-sticky=\"{mode:'smallHeight', direction:'bottom', mobile: ";
                echo ($this->getAttribute($this->getAttribute((isset($context["footer"]) ? $context["footer"] : null), "properties", []), "stickyMobile", []) * 1);
                echo "}\"";
            }
            echo ">
        ";
            // line 89
            echo $this->getAttribute((isset($context["ContentHelper"]) ? $context["ContentHelper"] : null), "RenderPageSection", [0 => (isset($context["footer"]) ? $context["footer"] : null), 1 => "footer"], "method");
            echo "
    </footer>
";
        }
        // line 92
        echo "
";
        // line 93
        echo " ";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  194 => 93,  191 => 92,  185 => 89,  172 => 88,  170 => 87,  165 => 84,  154 => 76,  149 => 73,  140 => 67,  134 => 63,  132 => 62,  121 => 54,  117 => 53,  110 => 49,  92 => 34,  88 => 33,  74 => 21,  69 => 19,  66 => 18,  64 => 17,  61 => 16,  55 => 13,  48 => 12,  46 => 11,  41 => 8,  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/blog/post.html.twig", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/templates/layouts/blog/post.html.twig");
    }
}
