var/cache/dev/twig/3a/3aa6516446d38ec5fdcfd90921d16934.php line 58

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/post.html.twig */
  14. class __TwigTemplate_5c9b30e4da5a0f9dfd903d2461e6b86c 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.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.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/post.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/post.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""content/post.html.twig"1);
  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_body($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""body"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  53.         // line 5
  54.         echo "\t";
  55.         if (array_key_exists("content"$context)) {
  56.             // line 6
  57.             echo "\t\t";
  58.             // line 7
  59.             echo "\t\t";
  60.             $this->loadTemplate("content/jsonld.html.twig""content/post.html.twig"7)->display($context);
  61.             // line 8
  62.             echo "\t\t";
  63.             $this->loadTemplate("content/tmpl/post-single.html.twig""content/post.html.twig"8)->display($context);
  64.             // line 9
  65.             echo "\t";
  66.         } elseif (array_key_exists("category"$context)) {
  67.             // line 10
  68.             echo "\t\t";
  69.             // line 11
  70.             echo "\t\t";
  71.             $this->loadTemplate("content/tmpl/category.html.twig""content/post.html.twig"11)->display($context);
  72.             // line 12
  73.             echo "\t";
  74.         } elseif (array_key_exists("customer"$context)) {
  75.             // line 13
  76.             echo "\t\t";
  77.             // line 14
  78.             echo "\t\t";
  79.             $this->loadTemplate("content/tmpl/category.html.twig""content/post.html.twig"14)->display($context);
  80.             // line 15
  81.             echo "\t";
  82.         }
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.     }
  88.     public function getTemplateName()
  89.     {
  90.         return "content/post.html.twig";
  91.     }
  92.     public function isTraitable()
  93.     {
  94.         return false;
  95.     }
  96.     public function getDebugInfo()
  97.     {
  98.         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,);
  99.     }
  100.     public function getSourceContext()
  101.     {
  102.         return new Source("{% extends \"base.html.twig\" %}
  103. {% block body %}
  104. \t{% if content is defined %}
  105. \t\t{# single post #}
  106. \t\t{% include \"content/jsonld.html.twig\" %}
  107. \t\t{% include \"content/tmpl/post-single.html.twig\" %}
  108. \t{% elseif category is defined %}
  109. \t\t{# category #}
  110. \t\t{% include \"content/tmpl/category.html.twig\" %}
  111. \t{% elseif customer is defined %}
  112. \t\t{# posts by customer #}
  113. \t\t{% include \"content/tmpl/category.html.twig\" %}
  114. \t{% endif %}
  115. {% endblock %}
  116. ""content/post.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/post.html.twig");
  117.     }
  118. }