<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* frontend/blog/entry.html.twig */
class __TwigTemplate_9282ca57f62be45279a11d3456bcfb9118857a7584e0a9b0f015fcfc48b5d216 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'css' => [$this, 'block_css'],
'javascripts' => [$this, 'block_javascripts'],
'content' => [$this, 'block_content'],
'facebook' => [$this, 'block_facebook'],
'meta_desc_key' => [$this, 'block_meta_desc_key'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/blog/entry.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/blog/entry.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "frontend/blog/entry.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 5
yield " ";
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", false, false, false, 5)) {
// line 6
yield " ";
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", false, false, false, 6), "html", null, true);
yield "
";
} else {
// line 8
yield " ";
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", false, false, false, 8), "html", null, true);
yield " - ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 8), "locale", [], "any", false, false, false, 8) == "pl")) {
yield "blog CentrumKrzesel.pl";
}
// line 9
yield " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_css(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
// line 13
yield " ";
yield from $this->yieldParentBlock("css", $context, $blocks);
yield "
<style>
h1 {
line-height: 1.5;
font-size: 2rem;
margin-bottom: 20px;
color: #060f44;
}
</style>
<style>
.blog-paragraph h2 {
font-size: 20px;
font-weight: bold;
}
.blog-paragraph h1 {
font-size:initial!important;
}
.blog-paragraph h3 {
font-size:initial!important;
}
.blog-paragraph a {
color:#ef1b2b!important;
}
.blog-paragraph ul {
list-style: initial!important;
}
.blog-paragraph li {
list-style: initial!important;
margin-left:30px;
}
.kt-circle-loader {
display: none!important;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 51
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 52
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script>
\$(document).ready(function () {
\$('.kt-circle-loader').remove();
\$('figure.image img').on(\"click\", function() {
var link = \$(this).children('a');
var link2 = \$(this).parent().find('a');
console.log(link2);
console.log(link);
if (link && link.attr('href') !== 'undefined') {
console.log(link.attr('href'));
console.log(link);
//window.location.href = link.attr('href');
}
});
setTimeout(function(){ \$('.kt-circle-loader').remove(); }, 1000);
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 76
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 77
yield " <div class=\"section\">
<div class=\"container\">
";
// line 80
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", false, false, false, 80)) {
// line 81
yield " <!-- START OF BLOG COVER -->
<div class=\"box cover\">
<figure class=\"image\">
<img ";
// line 84
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", false, false, false, 84)) {
yield "alt=\"";
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", false, false, false, 84), "html", null, true);
yield "\"";
} else {
yield "alt=\"";
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", false, false, false, 84), "html", null, true);
yield "\"";
}
yield " class=\"image\" src=\"/images/blog/";
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", false, false, false, 84), "html", null, true);
yield "\" height=\"100%\" width=\"100%\">
</figure>
</div>
<!-- END OF BLOG COVER -->
";
}
// line 89
yield "
";
// line 90
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", false, false, false, 90)) {
// line 91
yield " <div class=\"gradient\"></div>
<div class=\"box special-article-wrapper\">
<div class=\"columns is-centered\">
<div class=\"column is-three-fifths\">
<div class=\"columns is-centered\">
<div class=\"column\">
<article class=\"columns is-centered\">
<div class=\"column is-10\">
";
// line 102
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", false, false, false, 102));
yield "
</div>
</article>
</div>
</div>
</div>
</div>
</div>
";
} else {
// line 114
yield " <div class=\"columns is-centered\">
<div class=\"column is-three-fifths\">
<div class=\"columns is-centered\">
<div class=\"column\">
<article id=\"blog-post\" class=\"columns is-centered\">
<div class=\"column is-10\">
<section class=\"header-title\">
<h1 class=\"title has-text-weight-bold has-text-centered is-3 margin-bot-30\">
";
// line 125
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", false, false, false, 125), "html", null, true);
yield "
</h1>
<div class=\"subtitle has-text-weight-light has-text-centered is-7\">
<span class=\"article-date\">";
// line 129
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", false, false, false, 129), "d.m.Y"), "html", null, true);
yield "</span>
<span class=\"hash-tags\">
";
// line 131
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", false, false, false, 131));
yield "
</span>
</div>
</section>
<section class=\"blog-paragraph\">
";
// line 137
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", false, false, false, 137);
yield "
</section>
<div class=\"columns is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.card' ] }\">
";
// line 142
if (CoreExtension::getAttribute($this->env, $this->source, 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.', 142, $this->source); })()), "products", [], "any", false, false, false, 142), "count", [], "any", false, false, false, 142)) {
// line 143
yield " ";
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["productData"]) {
// line 144
yield " ";
$context["product"] = CoreExtension::getAttribute($this->env, $this->source, $context["productData"], 0, [], "array", false, false, false, 144);
// line 145
yield " ";
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"]]));
// line 146
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['productData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 147
yield " ";
}
// line 148
yield "
</div>
</div>
</article>
<div style=\"height: 30px;\">
</div>
";
// line 157
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); })()))) {
// line 158
yield " <div style=\"height: 200px\">
";
}
// line 160
yield "
";
// line 161
if ((isset($context["nextEntry"]) || array_key_exists("nextEntry", $context) ? $context["nextEntry"] : (function () { throw new RuntimeError('Variable "nextEntry" does not exist.', 161, $this->source); })())) {
// line 162
yield " <table style=\"width: 48%; float: left\">
";
// line 163
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", false, false, false, 163)) {
// line 164
yield " <tr>
<td class=\"text-center\">
<img class=\"image\" src=\"/images/blog/";
// line 166
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", false, false, false, 166), "html", null, true);
yield "\" style=\"max-height: 150px; margin:auto\">
</td>
</tr>
";
}
// line 170
yield " <tr>
<td style=\"text-align: center\">
<div style=\"margin-top: 20px;\">
<a href=\"";
// line 173
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", false, false, false, 173), "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", false, false, false, 173)]), "html", null, true);
yield "\">
<i class=\"fa fa-arrow-left\"></i> ";
// line 174
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", false, false, false, 174), "html", null, true);
yield "
</a>
</div>
</td>
</tr>
</table>
";
}
// line 181
yield "
";
// line 182
if ((isset($context["previousEntry"]) || array_key_exists("previousEntry", $context) ? $context["previousEntry"] : (function () { throw new RuntimeError('Variable "previousEntry" does not exist.', 182, $this->source); })())) {
// line 183
yield " <table style=\"width: 48%; float: right\">
";
// line 184
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", false, false, false, 184)) {
// line 185
yield " <tr>
<td style=\"text-align: center\">
<img class=\"image\" src=\"/images/blog/";
// line 187
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", false, false, false, 187), "html", null, true);
yield "\" style=\"max-height: 150px; margin:auto\">
</td>
</tr>
";
}
// line 191
yield " <tr>
<td style=\"text-align: center\">
<div style=\"margin-top: 20px;\">
<a href=\"";
// line 194
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", false, false, false, 194), "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", false, false, false, 194)]), "html", null, true);
yield "\">
";
// line 195
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", false, false, false, 195), "html", null, true);
yield " <i class=\"fa fa-arrow-right\"></i>
</a>
</div>
</td>
</tr>
</table>
";
}
// line 202
yield "
";
// line 203
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); })()))) {
// line 204
yield " </div>
";
}
// line 206
yield "
</div>
</div>
</div>
</div>
";
}
// line 213
yield "
";
// line 296
yield "
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 302
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_facebook(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "facebook"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "facebook"));
// line 303
yield " ";
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", false, false, false, 303)) {
// line 304
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 304), "locale", [], "any", false, false, false, 304) == "pl")) {
// line 305
yield " <meta property=\"og:image\" content=\"https://www.centrumkrzesel.pl/images/blog/";
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", false, false, false, 305), "html", null, true);
yield "\"/>
<meta property=\"og:url\" content=\"https://www.centrumkrzesel.pl";
// line 306
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", false, false, false, 306), "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", false, false, false, 306)]), "html", null, true);
yield "\"/>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 307
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 307, $this->source); })()), "request", [], "any", false, false, false, 307), "locale", [], "any", false, false, false, 307) == "cz")) {
// line 308
yield " <meta property=\"og:image\" content=\"https://www.ezidle.cz/images/blog/";
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", false, false, false, 308), "html", null, true);
yield "\"/>
<meta property=\"og:url\" content=\"https://www.ezidle.cz";
// line 309
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", false, false, false, 309), "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", false, false, false, 309)]), "html", null, true);
yield "\"/>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 310
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 310, $this->source); })()), "request", [], "any", false, false, false, 310), "locale", [], "any", false, false, false, 310) == "sk")) {
// line 311
yield " <meta property=\"og:image\" content=\"https://www.stolicky24.sk/images/blog/";
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", false, false, false, 311), "html", null, true);
yield "\"/>
<meta property=\"og:url\" content=\"https://www.stolicky24.sk";
// line 312
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", false, false, false, 312), "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", false, false, false, 312)]), "html", null, true);
yield "\"/>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 313
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 313, $this->source); })()), "request", [], "any", false, false, false, 313), "locale", [], "any", false, false, false, 313) == "ro")) {
// line 314
yield " <meta property=\"og:image\" content=\"https://www.mobila24.ro/images/blog/";
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", false, false, false, 314), "html", null, true);
yield "\"/>
<meta property=\"og:url\" content=\"https://www.mobila24.ro";
// line 315
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", false, false, false, 315), "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", false, false, false, 315)]), "html", null, true);
yield "\"/>
";
}
// line 317
yield " ";
}
// line 318
yield " <meta property=\"og:title\" content=\"";
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", false, false, false, 318), "html", null, true);
yield "\"/>
";
// line 319
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", false, false, false, 319)) {
// line 320
yield " <meta property=\"og:description\" content=\"";
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", false, false, false, 320), "html", null, true);
yield "\">
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 324
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta_desc_key(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc_key"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc_key"));
// line 325
yield " ";
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", false, false, false, 325)) {
// line 326
yield " <meta name=\"description\" content=\"";
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", false, false, false, 326), "html", null, true);
yield "\">
";
}
// line 328
yield "
";
// line 329
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", false, false, false, 329)) {
// line 330
yield " <meta name=\"keywords\" content=\"";
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", false, false, false, 330), "html", null, true);
yield "\">
";
}
// line 332
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "frontend/blog/entry.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% trans_default_domain 'store' %}
{% block title %}
{% if blog.metaTitle %}
{{ blog.metaTitle }}
{% else %}
{{ blog.title }} - {% if app.request.locale == 'pl' %}blog CentrumKrzesel.pl{% endif %}
{% endif %}
{% endblock %}
{% block css %}
{{ parent() }}
<style>
h1 {
line-height: 1.5;
font-size: 2rem;
margin-bottom: 20px;
color: #060f44;
}
</style>
<style>
.blog-paragraph h2 {
font-size: 20px;
font-weight: bold;
}
.blog-paragraph h1 {
font-size:initial!important;
}
.blog-paragraph h3 {
font-size:initial!important;
}
.blog-paragraph a {
color:#ef1b2b!important;
}
.blog-paragraph ul {
list-style: initial!important;
}
.blog-paragraph li {
list-style: initial!important;
margin-left:30px;
}
.kt-circle-loader {
display: none!important;
}
</style>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
\$(document).ready(function () {
\$('.kt-circle-loader').remove();
\$('figure.image img').on(\"click\", function() {
var link = \$(this).children('a');
var link2 = \$(this).parent().find('a');
console.log(link2);
console.log(link);
if (link && link.attr('href') !== 'undefined') {
console.log(link.attr('href'));
console.log(link);
//window.location.href = link.attr('href');
}
});
setTimeout(function(){ \$('.kt-circle-loader').remove(); }, 1000);
});
</script>
{% endblock %}
{% block content %}
<div class=\"section\">
<div class=\"container\">
{% if blog.imageName %}
<!-- START OF BLOG COVER -->
<div class=\"box cover\">
<figure class=\"image\">
<img {% if blog.alt %}alt=\"{{ blog.alt }}\"{% else %}alt=\"{{ blog.title }}\"{% endif %} class=\"image\" src=\"/images/blog/{{ blog.imageName }}\" height=\"100%\" width=\"100%\">
</figure>
</div>
<!-- END OF BLOG COVER -->
{% endif %}
{% if blog.special %}
<div class=\"gradient\"></div>
<div class=\"box special-article-wrapper\">
<div class=\"columns is-centered\">
<div class=\"column is-three-fifths\">
<div class=\"columns is-centered\">
<div class=\"column\">
<article class=\"columns is-centered\">
<div class=\"column is-10\">
{{ blog.content|strongReplacer|raw }}
</div>
</article>
</div>
</div>
</div>
</div>
</div>
{% else %}
<div class=\"columns is-centered\">
<div class=\"column is-three-fifths\">
<div class=\"columns is-centered\">
<div class=\"column\">
<article id=\"blog-post\" class=\"columns is-centered\">
<div class=\"column is-10\">
<section class=\"header-title\">
<h1 class=\"title has-text-weight-bold has-text-centered is-3 margin-bot-30\">
{{ blog.title }}
</h1>
<div class=\"subtitle has-text-weight-light has-text-centered is-7\">
<span class=\"article-date\">{{ blog.createdAt|date('d.m.Y') }}</span>
<span class=\"hash-tags\">
{{ blog.tags|tagFilter|raw }}
</span>
</div>
</section>
<section class=\"blog-paragraph\">
{{ blog.content|raw }}
</section>
<div class=\"columns is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.card' ] }\">
{% if blog.products.count %}
{% for productData in products %}
{% set product = productData[0] %}
{% include 'frontend/components/smallProduct.html.twig' with {'isOneThird':0, 'product':product, 'productData':productData} %}
{% endfor %}
{% endif %}
</div>
</div>
</article>
<div style=\"height: 30px;\">
</div>
{% if nextEntry or previousEntry %}
<div style=\"height: 200px\">
{% endif %}
{% if nextEntry %}
<table style=\"width: 48%; float: left\">
{% if nextEntry.imageName %}
<tr>
<td class=\"text-center\">
<img class=\"image\" src=\"/images/blog/{{ nextEntry.imageName }}\" style=\"max-height: 150px; margin:auto\">
</td>
</tr>
{% endif %}
<tr>
<td style=\"text-align: center\">
<div style=\"margin-top: 20px;\">
<a href=\"{{ path('blog_entry', {'id':nextEntry.id, 'slug':nextEntry.slug}) }}\">
<i class=\"fa fa-arrow-left\"></i> {{ nextEntry.title }}
</a>
</div>
</td>
</tr>
</table>
{% endif %}
{% if previousEntry %}
<table style=\"width: 48%; float: right\">
{% if previousEntry.imageName %}
<tr>
<td style=\"text-align: center\">
<img class=\"image\" src=\"/images/blog/{{ previousEntry.imageName }}\" style=\"max-height: 150px; margin:auto\">
</td>
</tr>
{% endif %}
<tr>
<td style=\"text-align: center\">
<div style=\"margin-top: 20px;\">
<a href=\"{{ path('blog_entry', {'id':previousEntry.id, 'slug':previousEntry.slug}) }}\">
{{ previousEntry.title }} <i class=\"fa fa-arrow-right\"></i>
</a>
</div>
</td>
</tr>
</table>
{% endif %}
{% if nextEntry or previousEntry %}
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{#
<section id=\"interesting-posts\">
<div class=\"subtitle is-4 has-text-centered is-centered\">
Artykuły, które mogą Cię zainteresować
</div>
<div class=\"columns is-multiline\" v-match-heights=\"{ el: [ '.card' ] }\">
<div class=\"column is-one-quarter\">
<div class=\"card blog-post\">
<div class=\"card-image\">
<figure class=\"image is-4by3\">
<img src=\"images/maj_2019/blog_1.jpg\" alt=\"Placeholder image\">
</figure>
</div>
<div class=\"card-content\">
<div class=\"is-size-7 date\">10.05.2019</div>
<div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
<div class=\"is-size-7 hash-tag\">
<span>#design</span>
<span>#krzesla</span>
</div>
</div>
</div>
</div>
<div class=\"column is-one-quarter\">
<div class=\"card blog-post\">
<div class=\"card-image\">
<figure class=\"image is-4by3\">
<img src=\"images/maj_2019/blog_4.jpg\" alt=\"Placeholder image\">
</figure>
</div>
<div class=\"card-content\">
<div class=\"is-size-7 date\">10.05.2019</div>
<div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
<div class=\"is-size-7 hash-tag\">
<span>#design</span>
<span>#krzesla</span>
</div>
</div>
</div>
</div>
<div class=\"column is-one-quarter\">
<div class=\"card blog-post\">
<div class=\"card-image\">
<figure class=\"image is-4by3\">
<img src=\"images/maj_2019/blog_5.jpg\" alt=\"Placeholder image\">
</figure>
</div>
<div class=\"card-content\">
<div class=\"is-size-7 date\">10.05.2019</div>
<div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
<div class=\"is-size-7 hash-tag\">
<span>#design</span>
<span>#krzesla</span>
</div>
</div>
</div>
</div>
<div class=\"column is-one-quarter\">
<div class=\"card blog-post\">
<div class=\"card-image\">
<figure class=\"image is-4by3\">
<img src=\"images/maj_2019/blog_8.jpg\" alt=\"Placeholder image\">
</figure>
</div>
<div class=\"card-content\">
<div class=\"is-size-7 date\">10.05.2019</div>
<div class=\"has-text-weight-bold\">Krzesła z przeszłości czyli moda na PRL</div>
<div class=\"is-size-7 hash-tag\">
<span>#design</span>
<span>#krzesla</span>
</div>
</div>
</div>
</div>
</div>
</section>
#}
</div>
</div>
{% endblock %}
{% block facebook %}
{% if blog.imageName %}
{% if app.request.locale == 'pl' %}
<meta property=\"og:image\" content=\"https://www.centrumkrzesel.pl/images/blog/{{ blog.imageName }}\"/>
<meta property=\"og:url\" content=\"https://www.centrumkrzesel.pl{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
{% elseif app.request.locale == 'cz' %}
<meta property=\"og:image\" content=\"https://www.ezidle.cz/images/blog/{{ blog.imageName }}\"/>
<meta property=\"og:url\" content=\"https://www.ezidle.cz{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
{% elseif app.request.locale == 'sk' %}
<meta property=\"og:image\" content=\"https://www.stolicky24.sk/images/blog/{{ blog.imageName }}\"/>
<meta property=\"og:url\" content=\"https://www.stolicky24.sk{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
{% elseif app.request.locale == 'ro' %}
<meta property=\"og:image\" content=\"https://www.mobila24.ro/images/blog/{{ blog.imageName }}\"/>
<meta property=\"og:url\" content=\"https://www.mobila24.ro{{ path('blog_entry', {'id':blog.id, 'slug':blog.slug}) }}\"/>
{% endif %}
{% endif %}
<meta property=\"og:title\" content=\"{{ blog.title }}\"/>
{% if blog.metaDescription %}
<meta property=\"og:description\" content=\"{{ blog.metaDescription }}\">
{% endif %}
{% endblock %}
{% block meta_desc_key %}
{% if blog.metaDescription %}
<meta name=\"description\" content=\"{{ blog.metaDescription }}\">
{% endif %}
{% if blog.metaKeywords %}
<meta name=\"keywords\" content=\"{{ blog.metaKeywords }}\">
{% endif %}
{% endblock %}", "frontend/blog/entry.html.twig", "/home/users/ck_new/templates/frontend/blog/entry.html.twig");
}
}