var/cache/dev/twig/50/505570468af98fc37173c3a046bddbb330d0853482f58301dc9dc299bee22bc3.php line 55

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. use Twig\TemplateWrapper;
  15. /* frontend/article/singleArticle.html.twig */
  16. class __TwigTemplate_a62268eef108c2bff4d3eab4ad72ef1c773159cfad5015bbf10da376217eac1c extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'content' => [$this'block_content'],
  29.             'title' => [$this'block_title'],
  30.             'meta_desc_key' => [$this'block_meta_desc_key'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "base.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/article/singleArticle.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/article/singleArticle.html.twig"));
  45.         $this->parent $this->loadTemplate("base.html.twig""frontend/article/singleArticle.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     /**
  54.      * @return iterable<null|scalar|\Stringable>
  55.      */
  56.     public function block_content(array $context, array $blocks = []): iterable
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  63.         // line 4
  64.         yield "    <!-- START OF CATEGORY NAME SECTION -->
  65.     <section class=\"section\">
  66.         <div class=\"container\">
  67.             <div class=\"columns is-multiline\">
  68.                 <div class=\"column is-full\">
  69.                     <span class=\"is-size-2 \">";
  70.         // line 10
  71.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'10$this->source); })()), "title", [], "any"falsefalsefalse10), "html"nulltrue);
  72.         yield "</span>
  73.                 </div>
  74.                 <div class=\"column is-full\">
  75.                     <span class=\"\">
  76.                         ";
  77.         // line 15
  78.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'15$this->source); })()), "content", [], "any"falsefalsefalse15);
  79.         yield "
  80.                     </span>
  81.                 </div>
  82.             </div>
  83.         </div>
  84.     </section>
  85.     <!-- END OF CATEGORY NAME SECTION -->
  86. ";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.         yield from [];
  92.     }
  93.     // line 25
  94.     /**
  95.      * @return iterable<null|scalar|\Stringable>
  96.      */
  97.     public function block_title(array $context, array $blocks = []): iterable
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  104.         // line 26
  105.         yield "     ";
  106.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'26$this->source); })()), "title", [], "any"falsefalsefalse26), "html"nulltrue);
  107.         yield " - ";
  108.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("page_main_title", [], "store"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "request", [], "any"falsefalsefalse26), "locale", [], "any"falsefalsefalse26)), "html"nulltrue);
  109.         yield "
  110. ";
  111.         
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  113.         
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  115.         yield from [];
  116.     }
  117.     // line 29
  118.     /**
  119.      * @return iterable<null|scalar|\Stringable>
  120.      */
  121.     public function block_meta_desc_key(array $context, array $blocks = []): iterable
  122.     {
  123.         $macros $this->macros;
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  128.         // line 30
  129.         yield "    ";
  130.         yield from $this->yieldParentBlock("meta_desc_key"$context$blocks);
  131.         yield "
  132.     ";
  133.         // line 31
  134.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'31$this->source); })()), "request", [], "any"falsefalsefalse31), "locale", [], "any"falsefalsefalse31) == "pl")) {
  135.             // line 32
  136.             yield "        ";
  137.             // line 33
  138.             yield "        ";
  139.             // line 36
  140.             yield "    ";
  141.         }
  142.         
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  144.         
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  146.         yield from [];
  147.     }
  148.     /**
  149.      * @codeCoverageIgnore
  150.      */
  151.     public function getTemplateName(): string
  152.     {
  153.         return "frontend/article/singleArticle.html.twig";
  154.     }
  155.     /**
  156.      * @codeCoverageIgnore
  157.      */
  158.     public function isTraitable(): bool
  159.     {
  160.         return false;
  161.     }
  162.     /**
  163.      * @codeCoverageIgnore
  164.      */
  165.     public function getDebugInfo(): array
  166.     {
  167.         return array (  167 => 36,  165 => 33,  163 => 32,  161 => 31,  156 => 30,  143 => 29,  127 => 26,  114 => 25,  94 => 15,  86 => 10,  78 => 4,  65 => 3,  42 => 1,);
  168.     }
  169.     public function getSourceContext(): Source
  170.     {
  171.         return new Source("{% extends 'base.html.twig' %}
  172. {% trans_default_domain 'store' %}
  173. {% block content %}
  174.     <!-- START OF CATEGORY NAME SECTION -->
  175.     <section class=\"section\">
  176.         <div class=\"container\">
  177.             <div class=\"columns is-multiline\">
  178.                 <div class=\"column is-full\">
  179.                     <span class=\"is-size-2 \">{{ article.title }}</span>
  180.                 </div>
  181.                 <div class=\"column is-full\">
  182.                     <span class=\"\">
  183.                         {{ article.content|raw }}
  184.                     </span>
  185.                 </div>
  186.             </div>
  187.         </div>
  188.     </section>
  189.     <!-- END OF CATEGORY NAME SECTION -->
  190. {% endblock %}
  191. {% block title %}
  192.      {{ article.title }} - {{ 'page_main_title'|trans({}, 'store', app.request.locale) }}
  193. {% endblock %}
  194. {% block meta_desc_key %}
  195.     {{ parent() }}
  196.     {% if app.request.locale == 'pl' %}
  197.         {# veltis tag #}
  198.         {#
  199.         <script async src='https://app.veltis.io/uploads/veltis.js'></script><script>window.veltisData = window.veltisData || []; function veltisTag() { veltisData.push(arguments); } veltisTag('js', new Date()); veltisTag('config', '1aadaf84c154d3e3'); </script>
  200.         #}
  201.     {% endif %}
  202. {% endblock %}""frontend/article/singleArticle.html.twig""/home/users/ck_new/templates/frontend/article/singleArticle.html.twig");
  203.     }
  204. }