var/cache/dev/twig/d9/d94cd7f166f62d8c6c0f4dde4a387096849cf04eb024acd6a905ca9ec4f969ce.php line 48

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/blog/entry.html.twig */
  16. class __TwigTemplate_9282ca57f62be45279a11d3456bcfb9118857a7584e0a9b0f015fcfc48b5d216 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.             'title' => [$this'block_title'],
  29.             'css' => [$this'block_css'],
  30.             'javascripts' => [$this'block_javascripts'],
  31.             'content' => [$this'block_content'],
  32.             'facebook' => [$this'block_facebook'],
  33.             'meta_desc_key' => [$this'block_meta_desc_key'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37.     {
  38.         // line 1
  39.         return "base.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/blog/entry.html.twig"));
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/blog/entry.html.twig"));
  48.         $this->parent $this->loadTemplate("base.html.twig""frontend/blog/entry.html.twig"1);
  49.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  52.         
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  54.     }
  55.     // line 4
  56.     /**
  57.      * @return iterable<null|scalar|\Stringable>
  58.      */
  59.     public function block_title(array $context, array $blocks = []): iterable
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  66.         // line 5
  67.         yield "    ";
  68.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'5$this->source); })()), "metaTitle", [], "any"falsefalsefalse5)) {
  69.             // line 6
  70.             yield "        ";
  71.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'6$this->source); })()), "metaTitle", [], "any"falsefalsefalse6), "html"nulltrue);
  72.             yield "
  73.     ";
  74.         } else {
  75.             // line 8
  76.             yield "        ";
  77.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'8$this->source); })()), "title", [], "any"falsefalsefalse8), "html"nulltrue);
  78.             yield " - ";
  79.             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.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "locale", [], "any"falsefalsefalse8) == "pl")) {
  80.                 yield "blog CentrumKrzesel.pl";
  81.             }
  82.             // line 9
  83.             yield "    ";
  84.         }
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.         yield from [];
  90.     }
  91.     // line 12
  92.     /**
  93.      * @return iterable<null|scalar|\Stringable>
  94.      */
  95.     public function block_css(array $context, array $blocks = []): iterable
  96.     {
  97.         $macros $this->macros;
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  102.         // line 13
  103.         yield "    ";
  104.         yield from $this->yieldParentBlock("css"$context$blocks);
  105.         yield "
  106.     <style>
  107.         h1 {
  108.             line-height: 1.5;
  109.             font-size: 2rem;
  110.             margin-bottom: 20px;
  111.             color: #060f44;
  112.         }
  113.     </style>
  114.     <style>
  115.         .blog-paragraph h2 {
  116.             font-size: 20px;
  117.             font-weight: bold;
  118.         }
  119.         .blog-paragraph h1 {
  120.             font-size:initial!important;
  121.         }
  122.         .blog-paragraph h3 {
  123.             font-size:initial!important;
  124.         }
  125.         .blog-paragraph a {
  126.             color:#ef1b2b!important;
  127.         }
  128.         .blog-paragraph ul {
  129.             list-style: initial!important;
  130.         }
  131.         .blog-paragraph li {
  132.             list-style: initial!important;
  133.             margin-left:30px;
  134.         }
  135.         .kt-circle-loader {
  136.             display: none!important;
  137.         }
  138.     </style>
  139. ";
  140.         
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.         yield from [];
  145.     }
  146.     // line 51
  147.     /**
  148.      * @return iterable<null|scalar|\Stringable>
  149.      */
  150.     public function block_javascripts(array $context, array $blocks = []): iterable
  151.     {
  152.         $macros $this->macros;
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  157.         // line 52
  158.         yield "    ";
  159.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  160.         yield "
  161.     <script>
  162.         \$(document).ready(function () {
  163.             \$('.kt-circle-loader').remove();
  164.             \$('figure.image img').on(\"click\", function() {
  165.                 var link = \$(this).children('a');
  166.                 var link2 = \$(this).parent().find('a');
  167.                 console.log(link2);
  168.                 console.log(link);
  169.                 if (link && link.attr('href') !== 'undefined') {
  170.                     console.log(link.attr('href'));
  171.                     console.log(link);
  172.                     //window.location.href = link.attr('href');
  173.                 }
  174.             });
  175.             setTimeout(function(){ \$('.kt-circle-loader').remove(); }, 1000);
  176.         });
  177.     </script>
  178. ";
  179.         
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  181.         
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  183.         yield from [];
  184.     }
  185.     // line 76
  186.     /**
  187.      * @return iterable<null|scalar|\Stringable>
  188.      */
  189.     public function block_content(array $context, array $blocks = []): iterable
  190.     {
  191.         $macros $this->macros;
  192.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  193.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  195.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  196.         // line 77
  197.         yield "    <div class=\"section\">
  198.         <div class=\"container\">
  199.             ";
  200.         // line 80
  201.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'80$this->source); })()), "imageName", [], "any"falsefalsefalse80)) {
  202.             // line 81
  203.             yield "                <!-- START OF BLOG COVER -->
  204.                 <div class=\"box cover\">
  205.                     <figure class=\"image\">
  206.                         <img ";
  207.             // line 84
  208.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'84$this->source); })()), "alt", [], "any"falsefalsefalse84)) {
  209.                 yield "alt=\"";
  210.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'84$this->source); })()), "alt", [], "any"falsefalsefalse84), "html"nulltrue);
  211.                 yield "\"";
  212.             } else {
  213.                 yield "alt=\"";
  214.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'84$this->source); })()), "title", [], "any"falsefalsefalse84), "html"nulltrue);
  215.                 yield "\"";
  216.             }
  217.             yield " class=\"image\" src=\"/images/blog/";
  218.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'84$this->source); })()), "imageName", [], "any"falsefalsefalse84), "html"nulltrue);
  219.             yield "\" height=\"100%\" width=\"100%\">
  220.                     </figure>
  221.                 </div>
  222.                 <!-- END OF BLOG COVER -->
  223.             ";
  224.         }
  225.         // line 89
  226.         yield "
  227.             ";
  228.         // line 90
  229.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'90$this->source); })()), "special", [], "any"falsefalsefalse90)) {
  230.             // line 91
  231.             yield "                <div class=\"gradient\"></div>
  232.                 <div class=\"box special-article-wrapper\">
  233.                     <div class=\"columns is-centered\">
  234.                         <div class=\"column is-three-fifths\">
  235.                             <div class=\"columns is-centered\">
  236.                                 <div class=\"column\">
  237.                                     <article class=\"columns is-centered\">
  238.                                         <div class=\"column is-10\">
  239.                                             ";
  240.             // line 102
  241.             yield $this->extensions['App\Twig\AppExtension']->strongReplacer(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'102$this->source); })()), "content", [], "any"falsefalsefalse102));
  242.             yield "
  243.                                         </div>
  244.                                     </article>
  245.                                 </div>
  246.                             </div>
  247.                         </div>
  248.                     </div>
  249.                 </div>
  250.             ";
  251.         } else {
  252.             // line 114
  253.             yield "                <div class=\"columns is-centered\">
  254.                     <div class=\"column is-three-fifths\">
  255.                         <div class=\"columns is-centered\">
  256.                             <div class=\"column\">
  257.                                 <article id=\"blog-post\" class=\"columns is-centered\">
  258.                                     <div class=\"column is-10\">
  259.                                         <section class=\"header-title\">
  260.                                             <h1 class=\"title has-text-weight-bold has-text-centered is-3 margin-bot-30\">
  261.                                                 ";
  262.             // line 125
  263.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'125$this->source); })()), "title", [], "any"falsefalsefalse125), "html"nulltrue);
  264.             yield "
  265.                                             </h1>
  266.                                             <div class=\"subtitle has-text-weight-light has-text-centered is-7\">
  267.                                                 <span class=\"article-date\">";
  268.             // line 129
  269.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'129$this->source); })()), "createdAt", [], "any"falsefalsefalse129), "d.m.Y"), "html"nulltrue);
  270.             yield "</span>
  271.                                                 <span class=\"hash-tags\">
  272.                                                     ";
  273.             // line 131
  274.             yield $this->extensions['App\Twig\AppExtension']->tagFilter(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'131$this->source); })()), "tags", [], "any"falsefalsefalse131));
  275.             yield "
  276.                                                 </span>
  277.                                             </div>
  278.                                         </section>
  279.                                         <section class=\"blog-paragraph\">
  280.                                             ";
  281.             // line 137
  282.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'137$this->source); })()), "content", [], "any"falsefalsefalse137);
  283.             yield "
  284.                                         </section>
  285.                                         <div class=\"columns is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.card' ] }\">
  286.                                             ";
  287.             // line 142
  288.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'142$this->source); })()), "products", [], "any"falsefalsefalse142), "count", [], "any"falsefalsefalse142)) {
  289.                 // line 143
  290.                 yield "                                                ";
  291.                 $context['_parent'] = $context;
  292.                 $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'143$this->source); })()));
  293.                 $context['loop'] = [
  294.                   'parent' => $context['_parent'],
  295.                   'index0' => 0,
  296.                   'index'  => 1,
  297.                   'first'  => true,
  298.                 ];
  299.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  300.                     $length count($context['_seq']);
  301.                     $context['loop']['revindex0'] = $length 1;
  302.                     $context['loop']['revindex'] = $length;
  303.                     $context['loop']['length'] = $length;
  304.                     $context['loop']['last'] = === $length;
  305.                 }
  306.                 foreach ($context['_seq'] as $context["_key"] => $context["productData"]) {
  307.                     // line 144
  308.                     yield "                                                    ";
  309.                     $context["product"] = CoreExtension::getAttribute($this->env$this->source$context["productData"], 0, [], "array"falsefalsefalse144);
  310.                     // line 145
  311.                     yield "                                                    ";
  312.                     yield from $this->loadTemplate("frontend/components/smallProduct.html.twig""frontend/blog/entry.html.twig"145)->unwrap()->yield(CoreExtension::merge($context, ["isOneThird" => 0"product" => (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'145$this->source); })()), "productData" => $context["productData"]]));
  313.                     // line 146
  314.                     yield "                                                ";
  315.                     ++$context['loop']['index0'];
  316.                     ++$context['loop']['index'];
  317.                     $context['loop']['first'] = false;
  318.                     if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  319.                         --$context['loop']['revindex0'];
  320.                         --$context['loop']['revindex'];
  321.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  322.                     }
  323.                 }
  324.                 $_parent $context['_parent'];
  325.                 unset($context['_seq'], $context['_key'], $context['productData'], $context['_parent'], $context['loop']);
  326.                 $context array_intersect_key($context$_parent) + $_parent;
  327.                 // line 147
  328.                 yield "                                            ";
  329.             }
  330.             // line 148
  331.             yield "
  332.                                         </div>
  333.                                     </div>
  334.                                 </article>
  335.                                 <div style=\"height: 30px;\">
  336.                                 </div>
  337.                                 ";
  338.             // line 157
  339.             if (((isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'157$this->source); })()) || (isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'157$this->source); })()))) {
  340.                 // line 158
  341.                 yield "                                    <div style=\"height: 200px\">
  342.                                 ";
  343.             }
  344.             // line 160
  345.             yield "
  346.                                 ";
  347.             // line 161
  348.             if ((isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'161$this->source); })())) {
  349.                 // line 162
  350.                 yield "                                    <table style=\"width: 48%; float: left\">
  351.                                         ";
  352.                 // line 163
  353.                 if (CoreExtension::getAttribute($this->env$this->source, (isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'163$this->source); })()), "imageName", [], "any"falsefalsefalse163)) {
  354.                     // line 164
  355.                     yield "                                            <tr>
  356.                                                 <td class=\"text-center\">
  357.                                                     <img class=\"image\" src=\"/images/blog/";
  358.                     // line 166
  359.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'166$this->source); })()), "imageName", [], "any"falsefalsefalse166), "html"nulltrue);
  360.                     yield "\" style=\"max-height: 150px; margin:auto\">
  361.                                                 </td>
  362.                                             </tr>
  363.                                         ";
  364.                 }
  365.                 // line 170
  366.                 yield "                                        <tr>
  367.                                             <td style=\"text-align: center\">
  368.                                                 <div style=\"margin-top: 20px;\">
  369.                                                     <a href=\"";
  370.                 // line 173
  371.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_entry", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'173$this->source); })()), "id", [], "any"falsefalsefalse173), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'173$this->source); })()), "slug", [], "any"falsefalsefalse173)]), "html"nulltrue);
  372.                 yield "\">
  373.                                                         <i class=\"fa fa-arrow-left\"></i> ";
  374.                 // line 174
  375.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'174$this->source); })()), "title", [], "any"falsefalsefalse174), "html"nulltrue);
  376.                 yield "
  377.                                                     </a>
  378.                                                 </div>
  379.                                             </td>
  380.                                         </tr>
  381.                                     </table>
  382.                                 ";
  383.             }
  384.             // line 181
  385.             yield "
  386.                                 ";
  387.             // line 182
  388.             if ((isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'182$this->source); })())) {
  389.                 // line 183
  390.                 yield "                                    <table style=\"width: 48%; float: right\">
  391.                                         ";
  392.                 // line 184
  393.                 if (CoreExtension::getAttribute($this->env$this->source, (isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'184$this->source); })()), "imageName", [], "any"falsefalsefalse184)) {
  394.                     // line 185
  395.                     yield "                                            <tr>
  396.                                                 <td style=\"text-align: center\">
  397.                                                     <img class=\"image\" src=\"/images/blog/";
  398.                     // line 187
  399.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'187$this->source); })()), "imageName", [], "any"falsefalsefalse187), "html"nulltrue);
  400.                     yield "\" style=\"max-height: 150px; margin:auto\">
  401.                                                 </td>
  402.                                             </tr>
  403.                                         ";
  404.                 }
  405.                 // line 191
  406.                 yield "                                        <tr>
  407.                                             <td style=\"text-align: center\">
  408.                                                 <div style=\"margin-top: 20px;\">
  409.                                                     <a href=\"";
  410.                 // line 194
  411.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_entry", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'194$this->source); })()), "id", [], "any"falsefalsefalse194), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'194$this->source); })()), "slug", [], "any"falsefalsefalse194)]), "html"nulltrue);
  412.                 yield "\">
  413.                                                         ";
  414.                 // line 195
  415.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'195$this->source); })()), "title", [], "any"falsefalsefalse195), "html"nulltrue);
  416.                 yield " <i class=\"fa fa-arrow-right\"></i>
  417.                                                     </a>
  418.                                                 </div>
  419.                                             </td>
  420.                                         </tr>
  421.                                     </table>
  422.                                 ";
  423.             }
  424.             // line 202
  425.             yield "
  426.                                 ";
  427.             // line 203
  428.             if (((isset($context["nextEntry"]) || array_key_exists("nextEntry"$context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.'203$this->source); })()) || (isset($context["previousEntry"]) || array_key_exists("previousEntry"$context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.'203$this->source); })()))) {
  429.                 // line 204
  430.                 yield "                                    </div>
  431.                                 ";
  432.             }
  433.             // line 206
  434.             yield "
  435.                             </div>
  436.                         </div>
  437.                     </div>
  438.                 </div>
  439.             ";
  440.         }
  441.         // line 213
  442.         yield "
  443.             ";
  444.         // line 296
  445.         yield "
  446.         </div>
  447.     </div>
  448. ";
  449.         
  450.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  451.         
  452.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  453.         yield from [];
  454.     }
  455.     // line 302
  456.     /**
  457.      * @return iterable<null|scalar|\Stringable>
  458.      */
  459.     public function block_facebook(array $context, array $blocks = []): iterable
  460.     {
  461.         $macros $this->macros;
  462.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  463.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""facebook"));
  464.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  465.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""facebook"));
  466.         // line 303
  467.         yield "    ";
  468.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'303$this->source); })()), "imageName", [], "any"falsefalsefalse303)) {
  469.             // line 304
  470.             yield "        ";
  471.             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.'304$this->source); })()), "request", [], "any"falsefalsefalse304), "locale", [], "any"falsefalsefalse304) == "pl")) {
  472.                 // line 305
  473.                 yield "            <meta property=\"og:image\" content=\"https://www.centrumkrzesel.pl/images/blog/";
  474.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'305$this->source); })()), "imageName", [], "any"falsefalsefalse305), "html"nulltrue);
  475.                 yield "\"/>
  476.             <meta property=\"og:url\" content=\"https://www.centrumkrzesel.pl";
  477.                 // line 306
  478.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_entry", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'306$this->source); })()), "id", [], "any"falsefalsefalse306), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'306$this->source); })()), "slug", [], "any"falsefalsefalse306)]), "html"nulltrue);
  479.                 yield "\"/>
  480.         ";
  481.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 307
  482. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'307$this->source); })()), "request", [], "any"falsefalsefalse307), "locale", [], "any"falsefalsefalse307) == "cz")) {
  483.                 // line 308
  484.                 yield "            <meta property=\"og:image\" content=\"https://www.ezidle.cz/images/blog/";
  485.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'308$this->source); })()), "imageName", [], "any"falsefalsefalse308), "html"nulltrue);
  486.                 yield "\"/>
  487.             <meta property=\"og:url\" content=\"https://www.ezidle.cz";
  488.                 // line 309
  489.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_entry", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'309$this->source); })()), "id", [], "any"falsefalsefalse309), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'309$this->source); })()), "slug", [], "any"falsefalsefalse309)]), "html"nulltrue);
  490.                 yield "\"/>
  491.         ";
  492.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 310
  493. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'310$this->source); })()), "request", [], "any"falsefalsefalse310), "locale", [], "any"falsefalsefalse310) == "sk")) {
  494.                 // line 311
  495.                 yield "            <meta property=\"og:image\" content=\"https://www.stolicky24.sk/images/blog/";
  496.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'311$this->source); })()), "imageName", [], "any"falsefalsefalse311), "html"nulltrue);
  497.                 yield "\"/>
  498.             <meta property=\"og:url\" content=\"https://www.stolicky24.sk";
  499.                 // line 312
  500.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_entry", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'312$this->source); })()), "id", [], "any"falsefalsefalse312), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'312$this->source); })()), "slug", [], "any"falsefalsefalse312)]), "html"nulltrue);
  501.                 yield "\"/>
  502.         ";
  503.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 313
  504. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'313$this->source); })()), "request", [], "any"falsefalsefalse313), "locale", [], "any"falsefalsefalse313) == "ro")) {
  505.                 // line 314
  506.                 yield "            <meta property=\"og:image\" content=\"https://www.mobila24.ro/images/blog/";
  507.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'314$this->source); })()), "imageName", [], "any"falsefalsefalse314), "html"nulltrue);
  508.                 yield "\"/>
  509.             <meta property=\"og:url\" content=\"https://www.mobila24.ro";
  510.                 // line 315
  511.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_entry", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'315$this->source); })()), "id", [], "any"falsefalsefalse315), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'315$this->source); })()), "slug", [], "any"falsefalsefalse315)]), "html"nulltrue);
  512.                 yield "\"/>
  513.         ";
  514.             }
  515.             // line 317
  516.             yield "    ";
  517.         }
  518.         // line 318
  519.         yield "    <meta property=\"og:title\" content=\"";
  520.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'318$this->source); })()), "title", [], "any"falsefalsefalse318), "html"nulltrue);
  521.         yield "\"/>
  522.     ";
  523.         // line 319
  524.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'319$this->source); })()), "metaDescription", [], "any"falsefalsefalse319)) {
  525.             // line 320
  526.             yield "        <meta property=\"og:description\" content=\"";
  527.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'320$this->source); })()), "metaDescription", [], "any"falsefalsefalse320), "html"nulltrue);
  528.             yield "\">
  529.     ";
  530.         }
  531.         
  532.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  533.         
  534.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  535.         yield from [];
  536.     }
  537.     // line 324
  538.     /**
  539.      * @return iterable<null|scalar|\Stringable>
  540.      */
  541.     public function block_meta_desc_key(array $context, array $blocks = []): iterable
  542.     {
  543.         $macros $this->macros;
  544.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  545.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  546.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  547.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  548.         // line 325
  549.         yield "    ";
  550.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'325$this->source); })()), "metaDescription", [], "any"falsefalsefalse325)) {
  551.             // line 326
  552.             yield "        <meta name=\"description\" content=\"";
  553.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'326$this->source); })()), "metaDescription", [], "any"falsefalsefalse326), "html"nulltrue);
  554.             yield "\">
  555.     ";
  556.         }
  557.         // line 328
  558.         yield "
  559.     ";
  560.         // line 329
  561.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'329$this->source); })()), "metaKeywords", [], "any"falsefalsefalse329)) {
  562.             // line 330
  563.             yield "        <meta name=\"keywords\" content=\"";
  564.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'330$this->source); })()), "metaKeywords", [], "any"falsefalsefalse330), "html"nulltrue);
  565.             yield "\">
  566.     ";
  567.         }
  568.         // line 332
  569.         yield "
  570. ";
  571.         
  572.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  573.         
  574.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  575.         yield from [];
  576.     }
  577.     /**
  578.      * @codeCoverageIgnore
  579.      */
  580.     public function getTemplateName(): string
  581.     {
  582.         return "frontend/blog/entry.html.twig";
  583.     }
  584.     /**
  585.      * @codeCoverageIgnore
  586.      */
  587.     public function isTraitable(): bool
  588.     {
  589.         return false;
  590.     }
  591.     /**
  592.      * @codeCoverageIgnore
  593.      */
  594.     public function getDebugInfo(): array
  595.     {
  596.         return array (  633 => 332,  627 => 330,  625 => 329,  622 => 328,  616 => 326,  613 => 325,  600 => 324,  585 => 320,  583 => 319,  578 => 318,  575 => 317,  570 => 315,  565 => 314,  563 => 313,  559 => 312,  554 => 311,  552 => 310,  548 => 309,  543 => 308,  541 => 307,  537 => 306,  532 => 305,  529 => 304,  526 => 303,  513 => 302,  498 => 296,  495 => 213,  486 => 206,  482 => 204,  480 => 203,  477 => 202,  467 => 195,  463 => 194,  458 => 191,  451 => 187,  447 => 185,  445 => 184,  442 => 183,  440 => 182,  437 => 181,  427 => 174,  423 => 173,  418 => 170,  411 => 166,  407 => 164,  405 => 163,  402 => 162,  400 => 161,  397 => 160,  393 => 158,  391 => 157,  380 => 148,  377 => 147,  363 => 146,  360 => 145,  357 => 144,  339 => 143,  337 => 142,  329 => 137,  320 => 131,  315 => 129,  308 => 125,  295 => 114,  280 => 102,  267 => 91,  265 => 90,  262 => 89,  244 => 84,  239 => 81,  237 => 80,  232 => 77,  219 => 76,  184 => 52,  171 => 51,  122 => 13,  109 => 12,  97 => 9,  90 => 8,  84 => 6,  81 => 5,  68 => 4,  45 => 1,);
  597.     }
  598.     public function getSourceContext(): Source
  599.     {
  600.         return new Source("{% extends 'base.html.twig' %}
  601. {% trans_default_domain 'store' %}
  602. {% block title %}
  603.     {% if blog.metaTitle %}
  604.         {{ blog.metaTitle }}
  605.     {% else %}
  606.         {{ blog.title }} - {% if app.request.locale == 'pl' %}blog CentrumKrzesel.pl{% endif %}
  607.     {% endif %}
  608. {% endblock %}
  609. {% block css %}
  610.     {{ parent() }}
  611.     <style>
  612.         h1 {
  613.             line-height: 1.5;
  614.             font-size: 2rem;
  615.             margin-bottom: 20px;
  616.             color: #060f44;
  617.         }
  618.     </style>
  619.     <style>
  620.         .blog-paragraph h2 {
  621.             font-size: 20px;
  622.             font-weight: bold;
  623.         }
  624.         .blog-paragraph h1 {
  625.             font-size:initial!important;
  626.         }
  627.         .blog-paragraph h3 {
  628.             font-size:initial!important;
  629.         }
  630.         .blog-paragraph a {
  631.             color:#ef1b2b!important;
  632.         }
  633.         .blog-paragraph ul {
  634.             list-style: initial!important;
  635.         }
  636.         .blog-paragraph li {
  637.             list-style: initial!important;
  638.             margin-left:30px;
  639.         }
  640.         .kt-circle-loader {
  641.             display: none!important;
  642.         }
  643.     </style>
  644. {% endblock %}
  645. {% block javascripts %}
  646.     {{ parent() }}
  647.     <script>
  648.         \$(document).ready(function () {
  649.             \$('.kt-circle-loader').remove();
  650.             \$('figure.image img').on(\"click\", function() {
  651.                 var link = \$(this).children('a');
  652.                 var link2 = \$(this).parent().find('a');
  653.                 console.log(link2);
  654.                 console.log(link);
  655.                 if (link && link.attr('href') !== 'undefined') {
  656.                     console.log(link.attr('href'));
  657.                     console.log(link);
  658.                     //window.location.href = link.attr('href');
  659.                 }
  660.             });
  661.             setTimeout(function(){ \$('.kt-circle-loader').remove(); }, 1000);
  662.         });
  663.     </script>
  664. {% endblock %}
  665. {% block content %}
  666.     <div class=\"section\">
  667.         <div class=\"container\">
  668.             {% if blog.imageName %}
  669.                 <!-- START OF BLOG COVER -->
  670.                 <div class=\"box cover\">
  671.                     <figure class=\"image\">
  672.                         <img {% if blog.alt %}alt=\"{{ blog.alt }}\"{% else %}alt=\"{{ blog.title }}\"{% endif %} class=\"image\" src=\"/images/blog/{{ blog.imageName }}\" height=\"100%\" width=\"100%\">
  673.                     </figure>
  674.                 </div>
  675.                 <!-- END OF BLOG COVER -->
  676.             {% endif %}
  677.             {% if blog.special %}
  678.                 <div class=\"gradient\"></div>
  679.                 <div class=\"box special-article-wrapper\">
  680.                     <div class=\"columns is-centered\">
  681.                         <div class=\"column is-three-fifths\">
  682.                             <div class=\"columns is-centered\">
  683.                                 <div class=\"column\">
  684.                                     <article class=\"columns is-centered\">
  685.                                         <div class=\"column is-10\">
  686.                                             {{ blog.content|strongReplacer|raw }}
  687.                                         </div>
  688.                                     </article>
  689.                                 </div>
  690.                             </div>
  691.                         </div>
  692.                     </div>
  693.                 </div>
  694.             {% else %}
  695.                 <div class=\"columns is-centered\">
  696.                     <div class=\"column is-three-fifths\">
  697.                         <div class=\"columns is-centered\">
  698.                             <div class=\"column\">
  699.                                 <article id=\"blog-post\" class=\"columns is-centered\">
  700.                                     <div class=\"column is-10\">
  701.                                         <section class=\"header-title\">
  702.                                             <h1 class=\"title has-text-weight-bold has-text-centered is-3 margin-bot-30\">
  703.                                                 {{ blog.title }}
  704.                                             </h1>
  705.                                             <div class=\"subtitle has-text-weight-light has-text-centered is-7\">
  706.                                                 <span class=\"article-date\">{{ blog.createdAt|date('d.m.Y') }}</span>
  707.                                                 <span class=\"hash-tags\">
  708.                                                     {{ blog.tags|tagFilter|raw }}
  709.                                                 </span>
  710.                                             </div>
  711.                                         </section>
  712.                                         <section class=\"blog-paragraph\">
  713.                                             {{ blog.content|raw }}
  714.                                         </section>
  715.                                         <div class=\"columns is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.card' ] }\">
  716.                                             {% if blog.products.count %}
  717.                                                 {% for productData in products %}
  718.                                                     {% set product = productData[0] %}
  719.                                                     {% include 'frontend/components/smallProduct.html.twig' with {'isOneThird':0, 'product':product, 'productData':productData} %}
  720.                                                 {% endfor %}
  721.                                             {% endif %}
  722.                                         </div>
  723.                                     </div>
  724.                                 </article>
  725.                                 <div style=\"height: 30px;\">
  726.                                 </div>
  727.                                 {% if nextEntry or previousEntry %}
  728.                                     <div style=\"height: 200px\">
  729.                                 {% endif %}
  730.                                 {% if nextEntry %}
  731.                                     <table style=\"width: 48%; float: left\">
  732.                                         {% if nextEntry.imageName %}
  733.                                             <tr>
  734.                                                 <td class=\"text-center\">
  735.                                                     <img class=\"image\" src=\"/images/blog/{{ nextEntry.imageName }}\" style=\"max-height: 150px; margin:auto\">
  736.                                                 </td>
  737.                                             </tr>
  738.                                         {% endif %}
  739.                                         <tr>
  740.                                             <td style=\"text-align: center\">
  741.                                                 <div style=\"margin-top: 20px;\">
  742.                                                     <a href=\"{{ path('blog_entry', {'id':nextEntry.id, 'slug':nextEntry.slug}) }}\">
  743.                                                         <i class=\"fa fa-arrow-left\"></i> {{ nextEntry.title }}
  744.                                                     </a>
  745.                                                 </div>
  746.                                             </td>
  747.                                         </tr>
  748.                                     </table>
  749.                                 {% endif %}
  750.                                 {% if previousEntry %}
  751.                                     <table style=\"width: 48%; float: right\">
  752.                                         {% if previousEntry.imageName %}
  753.                                             <tr>
  754.                                                 <td style=\"text-align: center\">
  755.                                                     <img class=\"image\" src=\"/images/blog/{{ previousEntry.imageName }}\" style=\"max-height: 150px; margin:auto\">
  756.                                                 </td>
  757.                                             </tr>
  758.                                         {% endif %}
  759.                                         <tr>
  760.                                             <td style=\"text-align: center\">
  761.                                                 <div style=\"margin-top: 20px;\">
  762.                                                     <a href=\"{{ path('blog_entry', {'id':previousEntry.id, 'slug':previousEntry.slug}) }}\">
  763.                                                         {{ previousEntry.title }} <i class=\"fa fa-arrow-right\"></i>
  764.                                                     </a>
  765.                                                 </div>
  766.                                             </td>
  767.                                         </tr>
  768.                                     </table>
  769.                                 {% endif %}
  770.                                 {% if nextEntry or previousEntry %}
  771.                                     </div>
  772.                                 {% endif %}
  773.                             </div>
  774.                         </div>
  775.                     </div>
  776.                 </div>
  777.             {% endif %}
  778.             {#
  779.             <section id=\"interesting-posts\">
  780.                 <div class=\"subtitle is-4 has-text-centered is-centered\">
  781.                     Artykuły, które mogą Cię zainteresować
  782.                 </div>
  783.                 <div class=\"columns is-multiline\" v-match-heights=\"{ el: [ '.card' ] }\">
  784.                     <div class=\"column is-one-quarter\">
  785.                         <div class=\"card blog-post\">
  786.                             <div class=\"card-image\">
  787.                                 <figure class=\"image is-4by3\">
  788.                                     <img src=\"images/maj_2019/blog_1.jpg\" alt=\"Placeholder image\">
  789.                                 </figure>
  790.                             </div>
  791.                             <div class=\"card-content\">
  792.                                 <div class=\"is-size-7 date\">10.05.2019</div>
  793.                                 <div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
  794.                                 <div class=\"is-size-7 hash-tag\">
  795.                                     <span>#design</span>
  796.                                     <span>#krzesla</span>
  797.                                 </div>
  798.                             </div>
  799.                         </div>
  800.                     </div>
  801.                     <div class=\"column is-one-quarter\">
  802.                         <div class=\"card blog-post\">
  803.                             <div class=\"card-image\">
  804.                                 <figure class=\"image is-4by3\">
  805.                                     <img src=\"images/maj_2019/blog_4.jpg\" alt=\"Placeholder image\">
  806.                                 </figure>
  807.                             </div>
  808.                             <div class=\"card-content\">
  809.                                 <div class=\"is-size-7 date\">10.05.2019</div>
  810.                                 <div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
  811.                                 <div class=\"is-size-7 hash-tag\">
  812.                                     <span>#design</span>
  813.                                     <span>#krzesla</span>
  814.                                 </div>
  815.                             </div>
  816.                         </div>
  817.                     </div>
  818.                     <div class=\"column is-one-quarter\">
  819.                         <div class=\"card blog-post\">
  820.                             <div class=\"card-image\">
  821.                                 <figure class=\"image is-4by3\">
  822.                                     <img src=\"images/maj_2019/blog_5.jpg\" alt=\"Placeholder image\">
  823.                                 </figure>
  824.                             </div>
  825.                             <div class=\"card-content\">
  826.                                 <div class=\"is-size-7 date\">10.05.2019</div>
  827.                                 <div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
  828.                                 <div class=\"is-size-7 hash-tag\">
  829.                                     <span>#design</span>
  830.                                     <span>#krzesla</span>
  831.                                 </div>
  832.                             </div>
  833.                         </div>
  834.                     </div>
  835.                     <div class=\"column is-one-quarter\">
  836.                         <div class=\"card blog-post\">
  837.                             <div class=\"card-image\">
  838.                                 <figure class=\"image is-4by3\">
  839.                                     <img src=\"images/maj_2019/blog_8.jpg\" alt=\"Placeholder image\">
  840.                                 </figure>
  841.                             </div>
  842.                             <div class=\"card-content\">
  843.                                 <div class=\"is-size-7 date\">10.05.2019</div>
  844.                                 <div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
  845.                                 <div class=\"is-size-7 hash-tag\">
  846.                                     <span>#design</span>
  847.                                     <span>#krzesla</span>
  848.                                 </div>
  849.                             </div>
  850.                         </div>
  851.                     </div>
  852.                 </div>
  853.             </section>
  854.             #}
  855.         </div>
  856.     </div>
  857. {% endblock %}
  858. {% block facebook %}
  859.     {% if blog.imageName %}
  860.         {% if app.request.locale == 'pl' %}
  861.             <meta property=\"og:image\" content=\"https://www.centrumkrzesel.pl/images/blog/{{ blog.imageName }}\"/>
  862.             <meta property=\"og:url\" content=\"https://www.centrumkrzesel.pl{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
  863.         {% elseif app.request.locale == 'cz' %}
  864.             <meta property=\"og:image\" content=\"https://www.ezidle.cz/images/blog/{{ blog.imageName }}\"/>
  865.             <meta property=\"og:url\" content=\"https://www.ezidle.cz{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
  866.         {% elseif app.request.locale == 'sk' %}
  867.             <meta property=\"og:image\" content=\"https://www.stolicky24.sk/images/blog/{{ blog.imageName }}\"/>
  868.             <meta property=\"og:url\" content=\"https://www.stolicky24.sk{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
  869.         {% elseif app.request.locale == 'ro' %}
  870.             <meta property=\"og:image\" content=\"https://www.mobila24.ro/images/blog/{{ blog.imageName }}\"/>
  871.             <meta property=\"og:url\" content=\"https://www.mobila24.ro{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
  872.         {% endif %}
  873.     {% endif %}
  874.     <meta property=\"og:title\" content=\"{{ blog.title }}\"/>
  875.     {% if blog.metaDescription %}
  876.         <meta property=\"og:description\" content=\"{{ blog.metaDescription }}\">
  877.     {% endif %}
  878. {% endblock %}
  879. {% block meta_desc_key %}
  880.     {% if blog.metaDescription %}
  881.         <meta name=\"description\" content=\"{{ blog.metaDescription }}\">
  882.     {% endif %}
  883.     {% if blog.metaKeywords %}
  884.         <meta name=\"keywords\" content=\"{{ blog.metaKeywords }}\">
  885.     {% endif %}
  886. {% endblock %}""frontend/blog/entry.html.twig""/home/users/ck_new/templates/frontend/blog/entry.html.twig");
  887.     }
  888. }