<?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/post.html.twig */
class __TwigTemplate_5c9b30e4da5a0f9dfd903d2461e6b86c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.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/post.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/post.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "content/post.html.twig", 1);
$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_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 5
echo "\t";
if (array_key_exists("content", $context)) {
// line 6
echo "\t\t";
// line 7
echo "\t\t";
$this->loadTemplate("content/jsonld.html.twig", "content/post.html.twig", 7)->display($context);
// line 8
echo "\t\t";
$this->loadTemplate("content/tmpl/post-single.html.twig", "content/post.html.twig", 8)->display($context);
// line 9
echo "\t";
} elseif (array_key_exists("category", $context)) {
// line 10
echo "\t\t";
// line 11
echo "\t\t";
$this->loadTemplate("content/tmpl/category.html.twig", "content/post.html.twig", 11)->display($context);
// line 12
echo "\t";
} elseif (array_key_exists("customer", $context)) {
// line 13
echo "\t\t";
// line 14
echo "\t\t";
$this->loadTemplate("content/tmpl/category.html.twig", "content/post.html.twig", 14)->display($context);
// line 15
echo "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/post.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 95 => 15, 92 => 14, 90 => 13, 87 => 12, 84 => 11, 82 => 10, 79 => 9, 76 => 8, 73 => 7, 71 => 6, 68 => 5, 58 => 4, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block body %}
\t{% if content is defined %}
\t\t{# single post #}
\t\t{% include \"content/jsonld.html.twig\" %}
\t\t{% include \"content/tmpl/post-single.html.twig\" %}
\t{% elseif category is defined %}
\t\t{# category #}
\t\t{% include \"content/tmpl/category.html.twig\" %}
\t{% elseif customer is defined %}
\t\t{# posts by customer #}
\t\t{% include \"content/tmpl/category.html.twig\" %}
\t{% endif %}
{% endblock %}
", "content/post.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/post.html.twig");
}
}