<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* content/tmpl/RLW.html.twig */
class __TwigTemplate_03ba61738164d88ee6df782951fe0cac extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'column' => [$this, 'block_column'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "1-col-sidebar.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/tmpl/RLW.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/tmpl/RLW.html.twig"));
$this->parent = $this->loadTemplate("1-col-sidebar.html.twig", "content/tmpl/RLW.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_column($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
// line 5
echo "\t\t\t\t";
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"))) {
// line 6
echo "\t\t\t
";
// line 7
$this->loadTemplate("includes/curtain-ads/rlw.html.twig", "content/tmpl/RLW.html.twig", 7)->display($context);
// line 8
echo "\t\t\t";
}
// line 9
echo "\t";
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", false, false, false, 9)) {
// line 10
echo "\t\t<h1>";
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", false, false, false, 10);
echo "</h1>
\t";
}
// line 12
echo "\t
\t
\t";
// line 14
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", false, false, false, 14)) {
// line 15
echo "\t\t";
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", false, false, false, 15);
echo "
\t";
}
// line 17
echo "\t
\t";
// line 19
echo "\t";
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", false, false, false, 19))) {
// line 20
echo "\t\t";
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", false, false, false, 20));
echo "
\t";
}
// line 22
echo "
\t";
// line 23
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", false, false, false, 23) && (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", false, false, false, 23) != "{}"))) {
// line 24
echo "\t\t\t";
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", false, false, false, 24));
echo "
\t";
}
// line 26
echo "\t
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/tmpl/RLW.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("
{% extends \"1-col-sidebar.html.twig\" %}
{% block column %}
\t\t\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t
{% include \"includes/curtain-ads/rlw.html.twig\" %}
\t\t\t{% endif %}
\t{% if content.getShowTitle() %}
\t\t<h1>{{ content.getTitle() | raw }}</h1>
\t{% endif %}
\t
\t
\t{% if content.getFeaturedImageTag() %}
\t\t{{ content.getFeaturedImageTag(\"display-block\",\"\")|raw }}
\t{% endif %}
\t
\t{# show full content #}
\t{% if content.getContentFull() is not empty %}
\t\t{{ content.getContentFull() | wordpress | raw }}
\t{% endif %}
\t{% if content.getContentBuilder() and content.getContentBuilder() != '{}' %}
\t\t\t{{ content.getContentBuilder() | builder | raw }}
\t{% endif %}
\t
{% endblock %}", "content/tmpl/RLW.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/RLW.html.twig");
}
}