<?php

/* @websiteWidgets/blog/templates/post_comments.twig.html */
class __TwigTemplate_519a7e1e555ee48e2b4a6540186b387e2837f051e71a0fcb9904438dd08cf0f2 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_comments moto-preset-default ";
        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-widget=\"blog.post_comments\" data-preset=\"default\">
    <div class=\"moto-widget-empty\"></div>
    ";
        // line 3
        if (( !(isset($context["isPreview"]) ? $context["isPreview"] : null) && $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "showComments", []))) {
            // line 4
            echo "        ";
            echo $this->env->getExtension('Moto\Twig\Extension\WidgetsExtension')->renderWidget($this->env, "disqus", ["spacing" => ["top" => "auto", "right" => "auto", "bottom" => "auto", "left" => "auto"], "visible_on" => "mobile-v", "params" => ["url" => "@dynamic", "language" => $this->getAttribute((isset($context["currentPage"]) ? $context["currentPage"] : null), "getCommentsLanguage", [], "method")]]);
            echo "
    ";
        }
        // line 6
        echo "</div>";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  37 => 6,  31 => 4,  29 => 3,  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_comments.twig.html", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/widgets/blog/templates/post_comments.twig.html");
    }
}
