<?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/podcast.html.twig */
class __TwigTemplate_1f910c98dce4b46e89ff0d26c0397e38 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/podcast.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/podcast.html.twig"));
$this->parent = $this->loadTemplate("1-col-sidebar.html.twig", "content/tmpl/podcast.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 5
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 6
echo "\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.', 6, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
// line 7
echo "\t\t\t
";
// line 8
$this->loadTemplate("includes/curtain-ads/rlw.html.twig", "content/tmpl/podcast.html.twig", 8)->display($context);
// line 9
echo "\t\t\t";
}
// line 10
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.', 10, $this->source); })()), "getShowTitle", [], "method", false, false, false, 10)) {
// line 11
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.', 11, $this->source); })()), "getTitle", [], "method", false, false, false, 11);
echo "</h1>
\t";
}
// line 13
echo "\t
\t
\t";
// line 15
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.', 15, $this->source); })()), "getFeaturedImageTag", [], "method", false, false, false, 15)) {
// line 16
echo "\t\t<center>
\t";
// line 17
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.', 17, $this->source); })()), "getMediaURL", [], "method", false, false, false, 17)) {
echo "<a href=\"";
echo twig_escape_filter($this->env, 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.', 17, $this->source); })()), "getMediaURL", [], "method", false, false, false, 17), "html", null, true);
echo "\">";
}
// line 18
echo "\t\t
\t\t";
// line 19
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.', 19, $this->source); })()), "getFeaturedImageTag", ["display-block", "max-height: 350px;"], "method", false, false, false, 19);
echo "
\t\t
\t\t";
// line 21
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.', 21, $this->source); })()), "getMediaURL", [], "method", false, false, false, 21)) {
echo "</a>";
}
// line 22
echo "\t\t</center>
\t";
}
// line 24
echo "\t
\t";
// line 26
echo "\t
\t";
// line 28
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.', 28, $this->source); })()), "getContentFull", [], "method", false, false, false, 28))) {
// line 29
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.', 29, $this->source); })()), "getContentFull", [], "method", false, false, false, 29));
echo "
\t";
}
// line 31
echo "\t";
// line 32
echo "\t";
$this->loadTemplate("includes/social-share.html.twig", "content/tmpl/podcast.html.twig", 32)->display($context);
// line 33
echo "\t";
// line 34
echo "\t";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\RCS\\ContentController::comment", ["content" => // line 36
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 36, $this->source); })())]));
// line 38
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/tmpl/podcast.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 145 => 38, 143 => 36, 141 => 34, 139 => 33, 136 => 32, 134 => 31, 128 => 29, 125 => 28, 122 => 26, 119 => 24, 115 => 22, 111 => 21, 106 => 19, 103 => 18, 97 => 17, 94 => 16, 92 => 15, 88 => 13, 82 => 11, 79 => 10, 76 => 9, 74 => 8, 71 => 7, 68 => 6, 58 => 5, 35 => 2,);
}
public function getSourceContext()
{
return new Source("
{% extends \"1-col-sidebar.html.twig\" %}
{# podcasts #}
{% block column %}
\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<center>
\t{% if content.getMediaURL() %}<a href=\"{{content.getMediaURL()}}\">{% endif %}
\t\t
\t\t{{ content.getFeaturedImageTag(\"display-block\",\"max-height: 350px;\")|raw }}
\t\t
\t\t{% if content.getMediaURL() %}</a>{% endif %}
\t\t</center>
\t{% endif %}
\t
\t{#<p class=\"post-byline\">{{ content.publishedat | date(\"F j, Y\") }}</p>#}
\t
\t{# show full content #}
\t{% if content.getContentFull() is not empty %}
\t\t{{ content.getContentFull() | wordpress | raw }}
\t{% endif %}
\t{#social share buttons#}
\t{% include \"includes/social-share.html.twig\" %}
\t{# comments #}
\t{{ render(controller(
\t\t'App\\\\Controller\\\\RCS\\\\ContentController::comment',
\t\t{ 'content': content }
\t ))
\t}}
{% endblock %}", "content/tmpl/podcast.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/podcast.html.twig");
}
}