var/cache/dev/twig/27/278e73b1efbdd97db1047a0513deac231cc3b0402d44ed9ead2c5473eaf22bb6.php line 53

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