var/cache/dev/twig/88/88f31a3a8d100c5df16b98eea445f0df.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* page/page_show.html.twig */
  15. class __TwigTemplate_178ace44ddd28b96219e50d2e5598b1a extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "standard_tpl.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""page/page_show.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""page/page_show.html.twig"));
  39.         $this->parent $this->loadTemplate("standard_tpl.html.twig""page/page_show.html.twig"1);
  40.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 4
  55.         yield "\t
  56.     <div class=\"page-show pt-5 pb-5\">
  57.         <div class=\"container\">
  58.             ";
  59.         // line 7
  60.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'7$this->source); })()), "hasThumbnail", [], "method"falsefalsefalse7)) {
  61.             // line 8
  62.             yield "            <div class=\"thumbnail-box\">
  63.                 <img class=\"img-responsive\" src=\"";
  64.             // line 9
  65.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter(CoreExtension::getAttribute($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); })()), "thumbnail", [], "any"falsefalsefalse9), "thumbnail_large"), "html"nulltrue);
  66.             yield "\" alt=\"";
  67.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($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); })()), "getTitle", [], "method"falsefalsefalse9), "html"nulltrue);
  68.             yield "\">
  69.             </div>
  70.             ";
  71.         }
  72.         // line 12
  73.         yield "            
  74.             ";
  75.         // line 13
  76.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'13$this->source); })()), "getBody", [], "method"falsefalsefalse13);
  77.         yield "
  78.         </div>
  79.     </div>
  80. ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.         return; yield '';
  86.     }
  87.     /**
  88.      * @codeCoverageIgnore
  89.      */
  90.     public function getTemplateName()
  91.     {
  92.         return "page/page_show.html.twig";
  93.     }
  94.     /**
  95.      * @codeCoverageIgnore
  96.      */
  97.     public function isTraitable()
  98.     {
  99.         return false;
  100.     }
  101.     /**
  102.      * @codeCoverageIgnore
  103.      */
  104.     public function getDebugInfo()
  105.     {
  106.         return array (  90 => 13,  87 => 12,  79 => 9,  76 => 8,  74 => 7,  69 => 4,  59 => 3,  36 => 1,);
  107.     }
  108.     public function getSourceContext()
  109.     {
  110.         return new Source("{% extends 'standard_tpl.html.twig' %}
  111. {% block content %}
  112. \t
  113.     <div class=\"page-show pt-5 pb-5\">
  114.         <div class=\"container\">
  115.             {% if content.hasThumbnail() %}
  116.             <div class=\"thumbnail-box\">
  117.                 <img class=\"img-responsive\" src=\"{{ content.thumbnail|imagine_filter('thumbnail_large') }}\" alt=\"{{ content.getTitle() }}\">
  118.             </div>
  119.             {% endif %}
  120.             
  121.             {{ content.getBody()|raw }}
  122.         </div>
  123.     </div>
  124. {% endblock %}
  125. ""page/page_show.html.twig""/home/u835281259/domains/konashznaturals.com/siteFiles/templates/page/page_show.html.twig");
  126.     }
  127. }