<?php

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

        $this->parent = false;

        $this->blocks = [
        ];
    }

    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-post_name 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), "getAlignClass", [], "method"), "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 " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getAnimationClasses", [], "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.post_name\">
    ";
        // line 2
        if ($this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "isTemplate", [], "method")) {
            // line 3
            echo "        <h1 class=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "text_style", []), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "name", []), "html", null, true);
            echo "</h1>
    ";
        } else {
            // line 5
            echo "        <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=\"";
            // line 7
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "text_style", []), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "name", []), "html", null, true);
            echo "</h1>
            </div>
        </div>
    ";
        }
        // line 11
        echo "</div>";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  59 => 11,  50 => 7,  46 => 5,  38 => 3,  36 => 2,  19 => 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/post_name.twig.html", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/widgets/blog/templates/post_name.twig.html");
    }
}
