var/cache/dev/twig/61/61303d24b9be251b2b7dca9f19800da6.php line 40

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. /* blog/article.html.twig */
  14. class __TwigTemplate_dbf507a749bce1513f3f24616b72d6f6 extends 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return $this->loadTemplate($this->extensions['App\Twig\Extension\WebsiteExtension']->getBaseLayout(), "blog/article.html.twig"1);
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/article.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/article.html.twig"));
  40.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 4
  55.         echo "\t";
  56.         echo $this->extensions['App\Twig\Extension\SchemaOrgExtension']->generateSchemaOrgMarkup("blog"$this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'4$this->source); })()), 4$this->source));
  57.         echo "
  58. \t<div
  59. \t\tclass=\"section section-blog-show bg-white py-0\">
  60. \t\t";
  61.         // line 23
  62.         echo "
  63. \t\t";
  64.         // line 25
  65.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'25$this->source); })())) {
  66.             // line 26
  67.             echo "\t\t\t<div class=\"container\">
  68. \t\t\t\t<div class=\"row\">
  69. \t\t\t\t\t<div class=\"col-12\">
  70. \t\t\t\t\t\t";
  71.             // line 29
  72.             $context["message"] = "Blogfilters";
  73.             // line 30
  74.             echo "\t\t\t\t\t\t";
  75.             $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""blog/article.html.twig"30)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'30$this->source); })()), "type" => "info"]));
  76.             // line 31
  77.             echo "
  78. \t\t\t\t\t\t";
  79.             // line 32
  80.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relations""blogFilters", ["types" => [=> "object"], "subtypes" => ["object" => [=> "object"]], "classes" => [=> "filterBlog"]]);
  81.             // line 38
  82.             echo "
  83. \t\t\t\t\t</div>
  84. \t\t\t\t</div>
  85. \t\t\t</div>
  86. \t\t";
  87.         }
  88.         // line 43
  89.         echo "
  90. \t\t<div class=\"container\">
  91. \t\t\t<div class=\"row\">
  92. \t\t\t\t<div class=\"col-12\">
  93. \t\t\t\t\t";
  94.         // line 47
  95.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'47$this->source); })())) {
  96.             // line 48
  97.             echo "\t\t\t\t\t\t<div class=\"alert alert-info\" role=\"alert\">
  98. \t\t\t\t\t\t\t";
  99.             // line 49
  100.             $context["message"] = "Afbeelding";
  101.             // line 50
  102.             echo "\t\t\t\t\t\t\t";
  103.             $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""blog/article.html.twig"50)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'50$this->source); })()), "type" => "info"]));
  104.             // line 51
  105.             echo "
  106. \t\t\t\t\t\t\t";
  107.             // line 52
  108.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""publicationHeader", ["width" => 800"height" => 200"thumbnail" => "blog-header""class" => "img-fluid w-100"]);
  109.             // line 57
  110.             echo "
  111. \t\t\t\t\t\t\t";
  112.             // line 59
  113.             $context["message"] = "Titel op afbeelding";
  114.             // line 60
  115.             echo "\t\t\t\t\t\t\t";
  116.             $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""blog/article.html.twig"60)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'60$this->source); })()), "type" => "info"]));
  117.             // line 61
  118.             echo "
  119. \t\t\t\t\t\t\t";
  120.             // line 62
  121.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""publicationHeaderTitle");
  122.             echo "
  123. \t\t\t\t\t\t</div>
  124. \t\t\t\t\t";
  125.         }
  126.         // line 65
  127.         echo "
  128. \t\t\t\t\t<div class=\"row\">
  129. \t\t\t\t\t\t<div class=\"col-8\">
  130. \t\t\t\t\t\t\t";
  131.         // line 68
  132.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'68$this->source); })())) {
  133.             // line 69
  134.             echo "\t\t\t\t\t\t\t\t<div class=\"alert alert-info\" role=\"alert\">
  135. \t\t\t\t\t\t\t\t\t";
  136.             // line 70
  137.             $context["message"] = "Publicatiedatum";
  138.             // line 71
  139.             echo "\t\t\t\t\t\t\t\t\t";
  140.             $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""blog/article.html.twig"71)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'71$this->source); })()), "type" => "info"]));
  141.             // line 72
  142.             echo "
  143. \t\t\t\t\t\t\t\t\t";
  144.             // line 73
  145.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"date""publicationDate", ["format" => "d m Y""outputFormat" => "%d.%m.%Y"]);
  146.             // line 76
  147.             echo "
  148. \t\t\t\t\t\t\t\t</div>
  149. \t\t\t\t\t\t\t";
  150.         }
  151.         // line 79
  152.         echo "
  153. \t\t\t\t\t\t\t";
  154.         // line 80
  155.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'80$this->source); })())) {
  156.             // line 81
  157.             echo "\t\t\t\t\t\t\t\t<div class=\"my-3\">
  158. \t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled d-child-inline-block font-size-4 d-inline-block text-black py-2 text-gray after-bullet mt-3 mb-0 m-md-0\">
  159. \t\t\t\t\t\t\t\t\t\t";
  160.             // line 83
  161.             if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"date""publicationDate"), "isEmpty", [], "method"falsefalsetrue83)) {
  162.                 // line 84
  163.                 echo "\t\t\t\t\t\t\t\t\t\t\t";
  164.                 $context["publicationDate"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"date""publicationDate"), "getData", [], "method"falsefalsetrue84);
  165.                 // line 85
  166.                 echo "\t\t\t\t\t\t\t\t\t\t\t<li>";
  167.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->env$this->sandbox->ensureToStringAllowed((isset($context["publicationDate"]) || array_key_exists("publicationDate"$context) ? $context["publicationDate"] : (function () { throw new RuntimeError('Variable "publicationDate" does not exist.'85$this->source); })()), 85$this->source), "none""d MMMM Y"null"gregorian"$this->sandbox->ensureToStringAllowed(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.'85$this->source); })()), "request", [], "any"falsefalsetrue85), "locale", [], "any"falsefalsetrue85), 85$this->source)), "html"nulltrue);
  168.                 echo "</li>
  169. \t\t\t\t\t\t\t\t\t\t\t";
  170.                 // line 87
  171.                 echo "\t\t\t\t\t\t\t\t\t\t\t";
  172.                 // line 88
  173.                 echo "\t\t\t\t\t\t\t\t\t\t";
  174.             }
  175.             // line 89
  176.             echo "\t\t\t\t\t\t\t\t\t</ul>
  177. \t\t\t\t\t\t\t\t</div>
  178. \t\t\t\t\t\t\t";
  179.         }
  180.         // line 92
  181.         echo "\t\t\t\t\t\t</div>
  182. \t\t\t\t\t\t";
  183.         // line 135
  184.         echo "
  185. \t\t\t\t\t</div>
  186. \t\t\t\t\t<div class=\"row\">
  187. \t\t\t\t\t\t<div class=\"col-sm-12\">
  188. \t\t\t\t\t\t\t<h1 class=\"text-uppercase font-size-9\">
  189. \t\t\t\t\t\t\t\t";
  190.         // line 141
  191.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""articleTitle");
  192.         echo "
  193. \t\t\t\t\t\t\t</h1>
  194. \t\t\t\t\t\t\t<div class=\"content py-2\">
  195. \t\t\t\t\t\t\t\t";
  196.         // line 145
  197.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'145$this->source); })())) {
  198.             // line 146
  199.             echo "\t\t\t\t\t\t\t\t\t";
  200.             $context["message"] = "Korte introtekst";
  201.             // line 147
  202.             echo "\t\t\t\t\t\t\t\t\t";
  203.             $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""blog/article.html.twig"147)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'147$this->source); })()), "type" => "info"]));
  204.             // line 148
  205.             echo "\t\t\t\t\t\t\t\t";
  206.         }
  207.         // line 149
  208.         echo "
  209. \t\t\t\t\t\t\t\t";
  210.         // line 150
  211.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""articleContent");
  212.         echo "
  213. \t\t\t\t\t\t\t</div>
  214. \t\t\t\t\t\t</div>
  215. \t\t\t\t\t</div>
  216. \t\t\t\t\t<div class=\"row py-4\">
  217. \t\t\t\t\t\t<div class=\"col-12\">
  218. \t\t\t\t\t\t\t";
  219.         // line 157
  220.         echo twig_include($this->env$context"includes/default-content.html.twig");
  221.         echo "
  222. \t\t\t\t\t\t</div>
  223. \t\t\t\t\t</div>
  224. \t\t\t\t\t<div class=\"row\">
  225. \t\t\t\t\t\t<div class=\"col-12 my-5\">
  226. \t\t\t\t\t\t\t<p class=\"text-center\">
  227. \t\t\t\t\t\t\t\t<a class=\"btn btn-primary\" href=\"";
  228.         // line 165
  229.         if ($this->extensions['App\Twig\Extension\CheckwebsiteSettingExtension']->getCheckWebsitesetting("blog_document""document")) {
  230.             echo twig_escape_filter($this->env$this->extensions['MultilingualBundle\Twig\Extension\InotherlangExtension']->getInotherlang("LocalizedDocument"$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("blog_document")), "html"nulltrue);
  231.         }
  232.         echo "\">
  233. \t\t\t\t\t\t\t\t\t";
  234.         // line 166
  235.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Terug naar overzicht"), "html"nulltrue);
  236.         echo "
  237. \t\t\t\t\t\t\t\t</a>
  238. \t\t\t\t\t\t\t</p>
  239. \t\t\t\t\t\t</div>
  240. \t\t\t\t\t</div>
  241. \t\t\t\t</div>
  242. \t\t\t</div>
  243. \t\t</div>
  244. \t</div>
  245. ";
  246.         
  247.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  248.         
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  250.     }
  251.     public function getTemplateName()
  252.     {
  253.         return "blog/article.html.twig";
  254.     }
  255.     public function isTraitable()
  256.     {
  257.         return false;
  258.     }
  259.     public function getDebugInfo()
  260.     {
  261.         return array (  259 => 166,  253 => 165,  242 => 157,  232 => 150,  229 => 149,  226 => 148,  223 => 147,  220 => 146,  218 => 145,  211 => 141,  203 => 135,  199 => 92,  194 => 89,  191 => 88,  189 => 87,  184 => 85,  181 => 84,  179 => 83,  175 => 81,  173 => 80,  170 => 79,  165 => 76,  163 => 73,  160 => 72,  157 => 71,  155 => 70,  152 => 69,  150 => 68,  145 => 65,  139 => 62,  136 => 61,  133 => 60,  131 => 59,  127 => 57,  125 => 52,  122 => 51,  119 => 50,  117 => 49,  114 => 48,  112 => 47,  106 => 43,  99 => 38,  97 => 32,  94 => 31,  91 => 30,  89 => 29,  84 => 26,  82 => 25,  78 => 23,  69 => 4,  59 => 3,  37 => 1,);
  262.     }
  263.     public function getSourceContext()
  264.     {
  265.         return new Source("{% extends base_layout() %}
  266. {% block content %}
  267. \t{{ schemaorg('blog', document) }}
  268. \t<div
  269. \t\tclass=\"section section-blog-show bg-white py-0\">
  270. \t\t{#
  271. \t\t
  272. \t\t        {% if not editmode and not pimcore_image('publicationHeader').isEmpty() %}
  273. \t\t            <div class=\"blog-image-header position-relative mb-5\" style=\"display: flex;\">
  274. \t\t                <img src=\"{{ pimcore_image('publicationHeader').getThumbnail('blog-thumb') }}\" class=\"blog-image bg-cover img-fluid w-100\">
  275. \t\t
  276. \t\t                {% if not pimcore_input(\"publicationHeaderTitle\").isEmpty() %}
  277. \t\t                    <div class=\"d-flex overlay text-center h-100\">
  278. \t\t                        <span class=\"m-auto\">{{ pimcore_input(\"publicationHeaderTitle\") }}</span>
  279. \t\t                    </div>
  280. \t\t                {% endif %}
  281. \t\t            </div>
  282. \t\t        {% endif %}
  283. \t\t#}
  284. \t\t{% if editmode %}
  285. \t\t\t<div class=\"container\">
  286. \t\t\t\t<div class=\"row\">
  287. \t\t\t\t\t<div class=\"col-12\">
  288. \t\t\t\t\t\t{% set message = 'Blogfilters' %}
  289. \t\t\t\t\t\t{% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  290. \t\t\t\t\t\t{{ pimcore_relations(\"blogFilters\", {
  291.                             \"types\": [\"object\"],
  292.                             \"subtypes\": {
  293.                             \"object\": [\"object\"]
  294.                         },
  295.                             \"classes\": [\"filterBlog\"]
  296.                             }) }}
  297. \t\t\t\t\t</div>
  298. \t\t\t\t</div>
  299. \t\t\t</div>
  300. \t\t{% endif %}
  301. \t\t<div class=\"container\">
  302. \t\t\t<div class=\"row\">
  303. \t\t\t\t<div class=\"col-12\">
  304. \t\t\t\t\t{% if editmode %}
  305. \t\t\t\t\t\t<div class=\"alert alert-info\" role=\"alert\">
  306. \t\t\t\t\t\t\t{% set message = 'Afbeelding' %}
  307. \t\t\t\t\t\t\t{% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  308. \t\t\t\t\t\t\t{{ pimcore_image('publicationHeader', {
  309.                                 \"width\": 800,
  310.                                 \"height\": 200,
  311.                                 \"thumbnail\": \"blog-header\",
  312.                                 \"class\": \"img-fluid w-100\"
  313.                             }) }}
  314. \t\t\t\t\t\t\t{% set message = 'Titel op afbeelding' %}
  315. \t\t\t\t\t\t\t{% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  316. \t\t\t\t\t\t\t{{ pimcore_input(\"publicationHeaderTitle\") }}
  317. \t\t\t\t\t\t</div>
  318. \t\t\t\t\t{% endif %}
  319. \t\t\t\t\t<div class=\"row\">
  320. \t\t\t\t\t\t<div class=\"col-8\">
  321. \t\t\t\t\t\t\t{% if editmode %}
  322. \t\t\t\t\t\t\t\t<div class=\"alert alert-info\" role=\"alert\">
  323. \t\t\t\t\t\t\t\t\t{% set message = 'Publicatiedatum' %}
  324. \t\t\t\t\t\t\t\t\t{% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  325. \t\t\t\t\t\t\t\t\t{{ pimcore_date(\"publicationDate\", {
  326.                                         \"format\": \"d m Y\",
  327.                                         'outputFormat': \"%d.%m.%Y\"
  328.                                     }) }}
  329. \t\t\t\t\t\t\t\t</div>
  330. \t\t\t\t\t\t\t{% endif %}
  331. \t\t\t\t\t\t\t{% if not editmode %}
  332. \t\t\t\t\t\t\t\t<div class=\"my-3\">
  333. \t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled d-child-inline-block font-size-4 d-inline-block text-black py-2 text-gray after-bullet mt-3 mb-0 m-md-0\">
  334. \t\t\t\t\t\t\t\t\t\t{% if not pimcore_date(\"publicationDate\").isEmpty() %}
  335. \t\t\t\t\t\t\t\t\t\t\t{% set publicationDate = pimcore_date(\"publicationDate\").getData() %}
  336. \t\t\t\t\t\t\t\t\t\t\t<li>{{ publicationDate|format_date('none', 'd MMMM Y', null, 'gregorian', app.request.locale) }}</li>
  337. \t\t\t\t\t\t\t\t\t\t\t{#                                            <li>{{ publicationDate.format('d') }} {{ publicationDate.format('F')|trans }}#}
  338. \t\t\t\t\t\t\t\t\t\t\t{#                                            {{ publicationDate.format('Y') }}</li>#}
  339. \t\t\t\t\t\t\t\t\t\t{% endif %}
  340. \t\t\t\t\t\t\t\t\t</ul>
  341. \t\t\t\t\t\t\t\t</div>
  342. \t\t\t\t\t\t\t{% endif %}
  343. \t\t\t\t\t\t</div>
  344. \t\t\t\t\t\t{#
  345. \t\t\t\t\t\t                        <div class=\"col-4 text-right\">
  346. \t\t\t\t\t\t                            <div class=\"my-3 social-icons-blog\">
  347. \t\t\t\t\t\t                                <span class=\"font-size-4 text-black\">{{ 'Deel dit artikel:'|trans }}</span>
  348. \t\t\t\t\t\t                                <div data-network=\"facebook\" class=\"d-inline st-custom-button\">
  349. \t\t\t\t\t\t                                    <span class=\"fa-stack fa-sm\">
  350. \t\t\t\t\t\t                                      <i class=\"fas fa-circle fa-stack-2x\"></i>
  351. \t\t\t\t\t\t                                      <i class=\"fa fa-facebook fa-stack-1x fa-inverse\"></i>
  352. \t\t\t\t\t\t                                    </span>
  353. \t\t\t\t\t\t                                </div>
  354. \t\t\t\t\t\t
  355. \t\t\t\t\t\t                                <div data-network=\"twitter\" class=\"d-inline st-custom-button\">
  356. \t\t\t\t\t\t                                    <span class=\"fa-stack fa-sm\">
  357. \t\t\t\t\t\t                                      <i class=\"fas fa-circle fa-stack-2x\"></i>
  358. \t\t\t\t\t\t                                      <i class=\"fa fa-twitter fa-stack-1x fa-inverse\"></i>
  359. \t\t\t\t\t\t                                    </span>
  360. \t\t\t\t\t\t                                </div>
  361. \t\t\t\t\t\t
  362. \t\t\t\t\t\t                                <div data-network=\"linkedin\" class=\"d-inline st-custom-button\">
  363. \t\t\t\t\t\t                                    <span class=\"fa-stack fa-sm\">
  364. \t\t\t\t\t\t                                      <i class=\"fas fa-circle fa-stack-2x\"></i>
  365. \t\t\t\t\t\t                                      <i class=\"fa fa-linkedin-in fa-stack-1x fa-inverse\"></i>
  366. \t\t\t\t\t\t                                    </span>
  367. \t\t\t\t\t\t                                </div>
  368. \t\t\t\t\t\t
  369. \t\t\t\t\t\t                                <div data-network=\"instapaper\" class=\"d-inline st-custom-button\">
  370. \t\t\t\t\t\t                                    <span class=\"fa-stack fa-sm\">
  371. \t\t\t\t\t\t                                      <i class=\"fas fa-circle fa-stack-2x\"></i>
  372. \t\t\t\t\t\t                                      <i class=\"fa fa-instagram fa-stack-1x fa-inverse\"></i>
  373. \t\t\t\t\t\t                                    </span>
  374. \t\t\t\t\t\t                                </div>
  375. \t\t\t\t\t\t
  376. \t\t\t\t\t\t                                <div data-network=\"email\" class=\"d-inline st-custom-button\">
  377. \t\t\t\t\t\t                                    <span class=\"fa-stack fa-sm\">
  378. \t\t\t\t\t\t                                      <i class=\"fas fa-circle fa-stack-2x\"></i>
  379. \t\t\t\t\t\t                                      <i class=\"fa fa-envelope fa-stack-1x fa-inverse\"></i>
  380. \t\t\t\t\t\t                                    </span>
  381. \t\t\t\t\t\t                                </div>
  382. \t\t\t\t\t\t                            </div>
  383. \t\t\t\t\t\t                        </div>
  384. \t\t\t\t\t\t                        #}
  385. \t\t\t\t\t</div>
  386. \t\t\t\t\t<div class=\"row\">
  387. \t\t\t\t\t\t<div class=\"col-sm-12\">
  388. \t\t\t\t\t\t\t<h1 class=\"text-uppercase font-size-9\">
  389. \t\t\t\t\t\t\t\t{{ pimcore_input('articleTitle') }}
  390. \t\t\t\t\t\t\t</h1>
  391. \t\t\t\t\t\t\t<div class=\"content py-2\">
  392. \t\t\t\t\t\t\t\t{% if editmode %}
  393. \t\t\t\t\t\t\t\t\t{% set message = 'Korte introtekst' %}
  394. \t\t\t\t\t\t\t\t\t{% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  395. \t\t\t\t\t\t\t\t{% endif %}
  396. \t\t\t\t\t\t\t\t{{ pimcore_wysiwyg('articleContent') }}
  397. \t\t\t\t\t\t\t</div>
  398. \t\t\t\t\t\t</div>
  399. \t\t\t\t\t</div>
  400. \t\t\t\t\t<div class=\"row py-4\">
  401. \t\t\t\t\t\t<div class=\"col-12\">
  402. \t\t\t\t\t\t\t{{ include('includes/default-content.html.twig') }}
  403. \t\t\t\t\t\t</div>
  404. \t\t\t\t\t</div>
  405. \t\t\t\t\t<div class=\"row\">
  406. \t\t\t\t\t\t<div class=\"col-12 my-5\">
  407. \t\t\t\t\t\t\t<p class=\"text-center\">
  408. \t\t\t\t\t\t\t\t<a class=\"btn btn-primary\" href=\"{% if check_websitesetting('blog_document', 'document') %}{{ inotherlang('LocalizedDocument', pimcore_website_config('blog_document')) }}{% endif %}\">
  409. \t\t\t\t\t\t\t\t\t{{ 'Terug naar overzicht'|trans }}
  410. \t\t\t\t\t\t\t\t</a>
  411. \t\t\t\t\t\t\t</p>
  412. \t\t\t\t\t\t</div>
  413. \t\t\t\t\t</div>
  414. \t\t\t\t</div>
  415. \t\t\t</div>
  416. \t\t</div>
  417. \t</div>
  418. {% endblock %}
  419. ""blog/article.html.twig""/var/www/clients/client2/web45/web/pc/templates/blog/article.html.twig");
  420.     }
  421.     
  422.     public function checkSecurity()
  423.     {
  424.         static $tags = array("if" => 25"set" => 29"include" => 30);
  425.         static $filters = array("escape" => 85"format_date" => 85"trans" => 166);
  426.         static $functions = array("schemaorg" => 4"pimcore_relations" => 32"pimcore_image" => 52"pimcore_input" => 62"pimcore_date" => 73"pimcore_wysiwyg" => 150"include" => 157"check_websitesetting" => 165"inotherlang" => 165"pimcore_website_config" => 165"base_layout" => 1);
  427.         try {
  428.             $this->sandbox->checkSecurity(
  429.                 ['if''set''include'],
  430.                 ['escape''format_date''trans'],
  431.                 ['schemaorg''pimcore_relations''pimcore_image''pimcore_input''pimcore_date''pimcore_wysiwyg''include''check_websitesetting''inotherlang''pimcore_website_config''base_layout']
  432.             );
  433.         } catch (SecurityError $e) {
  434.             $e->setSourceContext($this->source);
  435.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  436.                 $e->setTemplateLine($tags[$e->getTagName()]);
  437.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  438.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  439.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  440.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  441.             }
  442.             throw $e;
  443.         }
  444.     }
  445. }