<?php

/* @websiteWidgets/blog/templates/category_description.twig.html */
class __TwigTemplate_eeb4f01aa1bbec8a89307328f3a42e46d5aff2ac92e33672868590488dd1934e extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
            '__internal_da5e40650794324d82fdb3b86c81e5de14fb40411353f817d4dd3d0819179876' => [$this, 'block___internal_da5e40650794324d82fdb3b86c81e5de14fb40411353f817d4dd3d0819179876'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<div data-widget-id=\"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getWidgetId", [], "method"), "html", null, true);
        echo "\" class=\"moto-widget moto-widget-blog-category_description moto-preset-";
        echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", [], "any", false, true), "preset", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", [], "any", false, true), "preset", []), "default")) : ("default")), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getSpacing", [0 => "classes"], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getVisibleOn", [0 => "classes"], "method"), "html", null, true);
        echo "\" data-preset=\"";
        echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", [], "any", false, true), "preset", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", [], "any", false, true), "preset", []), "default")) : ("default")), "html", null, true);
        echo "\" data-widget=\"blog.category_description\">
    ";
        // line 2
        if ($this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "isTemplate", [], "method")) {
            // line 3
            echo "        <div class=\"moto-widget-empty\"></div>
    ";
        } elseif ((        // line 4
(isset($context["CurrentTaxonomy"]) ? $context["CurrentTaxonomy"] : null) && $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "shouldBeRendered", [], "method"))) {
            // line 5
            echo "        <div class=\"moto-widget-text\">
            <div class=\"moto-widget-text-content\">
                ";
            // line 7
            echo call_user_func_array($this->env->getFilter('page_html_content')->getCallable(), [$this->env,             $this->renderBlock("__internal_da5e40650794324d82fdb3b86c81e5de14fb40411353f817d4dd3d0819179876", $context, $blocks), (isset($context["CurrentTaxonomy"]) ? $context["CurrentTaxonomy"] : null), (($this->getAttribute((isset($context["CurrentTaxonomy"]) ? $context["CurrentTaxonomy"] : null), "type", []) . ":") . $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "source", []))]);
            // line 10
            echo "            </div>
        </div>
    ";
        }
        // line 13
        echo "</div>";
    }

    // line 7
    public function block___internal_da5e40650794324d82fdb3b86c81e5de14fb40411353f817d4dd3d0819179876($context, array $blocks = [])
    {
        // line 8
        echo "                    ";
        $this->loadTemplate(twig_template_from_string($this->env, $this->getAttribute((isset($context["CurrentTaxonomy"]) ? $context["CurrentTaxonomy"] : null), "getAttribute", [0 => $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "source", [])], "method")), "@websiteWidgets/blog/templates/category_description.twig.html", 8)->display($context);
        // line 9
        echo "                ";
    }

    public function getTemplateName()
    {
        return "@websiteWidgets/blog/templates/category_description.twig.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  61 => 9,  58 => 8,  55 => 7,  51 => 13,  46 => 10,  44 => 7,  40 => 5,  38 => 4,  35 => 3,  33 => 2,  20 => 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("", "@websiteWidgets/blog/templates/category_description.twig.html", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/widgets/blog/templates/category_description.twig.html");
    }
}
