var/cache/dev/twig/9b/9b3ba301fe0ab3ff695e2802bf9cd2b9.php line 118

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* content/tmpl/RLW.html.twig */
  14. class __TwigTemplate_03ba61738164d88ee6df782951fe0cac extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'column' => [$this'block_column'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 2
  29.         return "1-col-sidebar.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/RLW.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/RLW.html.twig"));
  38.         $this->parent $this->loadTemplate("1-col-sidebar.html.twig""content/tmpl/RLW.html.twig"2);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 4
  46.     public function block_column($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  53.         // line 5
  54.         echo "\t\t\t\t";
  55.         if (((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'5$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
  56.             // line 6
  57.             echo "\t\t\t
  58. ";
  59.             // line 7
  60.             $this->loadTemplate("includes/curtain-ads/rlw.html.twig""content/tmpl/RLW.html.twig"7)->display($context);
  61.             // line 8
  62.             echo "\t\t\t";
  63.         }
  64.         // line 9
  65.         echo "\t";
  66.         if (twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'9$this->source); })()), "getShowTitle", [], "method"falsefalsefalse9)) {
  67.             // line 10
  68.             echo "\t\t<h1>";
  69.             echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'10$this->source); })()), "getTitle", [], "method"falsefalsefalse10);
  70.             echo "</h1>
  71. \t";
  72.         }
  73.         // line 12
  74.         echo "\t
  75. \t
  76. \t";
  77.         // line 14
  78.         if (twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'14$this->source); })()), "getFeaturedImageTag", [], "method"falsefalsefalse14)) {
  79.             // line 15
  80.             echo "\t\t";
  81.             echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'15$this->source); })()), "getFeaturedImageTag", ["display-block"""], "method"falsefalsefalse15);
  82.             echo "
  83. \t";
  84.         }
  85.         // line 17
  86.         echo "\t
  87. \t";
  88.         // line 19
  89.         echo "\t";
  90.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'19$this->source); })()), "getContentFull", [], "method"falsefalsefalse19))) {
  91.             // line 20
  92.             echo "\t\t";
  93.             echo $this->extensions['App\Twig\RCSExtension']->wordpress(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'20$this->source); })()), "getContentFull", [], "method"falsefalsefalse20));
  94.             echo "
  95. \t";
  96.         }
  97.         // line 22
  98.         echo "
  99. \t";
  100.         // line 23
  101.         if ((twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'23$this->source); })()), "getContentBuilder", [], "method"falsefalsefalse23) && (twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'23$this->source); })()), "getContentBuilder", [], "method"falsefalsefalse23) != "{}"))) {
  102.             // line 24
  103.             echo "\t\t\t";
  104.             echo $this->extensions['App\Twig\RCSExtension']->builder(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'24$this->source); })()), "getContentBuilder", [], "method"falsefalsefalse24));
  105.             echo "
  106. \t";
  107.         }
  108.         // line 26
  109.         echo "\t
  110. ";
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     public function getTemplateName()
  117.     {
  118.         return "content/tmpl/RLW.html.twig";
  119.     }
  120.     public function isTraitable()
  121.     {
  122.         return false;
  123.     }
  124.     public function getDebugInfo()
  125.     {
  126.         return array (  123 => 26,  117 => 24,  115 => 23,  112 => 22,  106 => 20,  103 => 19,  100 => 17,  94 => 15,  92 => 14,  88 => 12,  82 => 10,  79 => 9,  76 => 8,  74 => 7,  71 => 6,  68 => 5,  58 => 4,  35 => 2,);
  127.     }
  128.     public function getSourceContext()
  129.     {
  130.         return new Source("
  131. {% extends \"1-col-sidebar.html.twig\" %}
  132. {% block column %}
  133. \t\t\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  134. \t\t\t
  135. {% include  \"includes/curtain-ads/rlw.html.twig\" %}
  136. \t\t\t{% endif %}
  137. \t{% if content.getShowTitle() %}
  138. \t\t<h1>{{ content.getTitle() | raw }}</h1>
  139. \t{% endif %}
  140. \t
  141. \t
  142. \t{% if content.getFeaturedImageTag() %}
  143. \t\t{{ content.getFeaturedImageTag(\"display-block\",\"\")|raw }}
  144. \t{% endif %}
  145. \t
  146. \t{# show full content #}
  147. \t{% if content.getContentFull() is not empty %}
  148. \t\t{{ content.getContentFull() | wordpress | raw }}
  149. \t{% endif %}
  150. \t{% if content.getContentBuilder() and content.getContentBuilder() != '{}' %}
  151. \t\t\t{{ content.getContentBuilder() | builder | raw }}
  152. \t{% endif %}
  153. \t
  154. {% endblock %}""content/tmpl/RLW.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/RLW.html.twig");
  155.     }
  156. }