<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* @TabaCMS2/default/post.twig */
class __TwigTemplate_a4f85f566487d2f452b9c17338bcf245 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 7
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TabaCMS2/default/post.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TabaCMS2/default/post.twig"));
// line 9
$context["category_list"] = $this->extensions['Plugin\TabaCMS2\Twig\Extension\TwigExtension']->categoryList(["type_data_key" => "news"]);
// line 11
$context["new_post_list"] = $this->extensions['Plugin\TabaCMS2\Twig\Extension\TwigExtension']->postList(["page_count" => 5, "type_data_key" => "news", "category_data_key" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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.', 11, $this->source); })()), "request", [], "any", false, false, true, 11), "query", [], "any", false, false, true, 11), "get", [0 => "category_data_key"], "method", false, false, true, 11)]);
// line 13
$context["body_class"] = "tabacms_post_page";
// line 16
$context["post"] = $this->extensions['Plugin\TabaCMS2\Twig\Extension\TwigExtension']->post();
// line 7
$this->parent = $this->loadTemplate("default_frame.twig", "@TabaCMS2/default/post.twig", 7);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 18
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 19
echo $this->extensions['Plugin\TabaCMS2\Twig\Extension\TwigExtension']->asset("script.js", "script");
echo "
";
// line 20
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 20, $this->source); })()), "getScript", [], "any", false, false, true, 20), 20, $this->source);
echo "
<script>
function openLineShare() {
const lineUrl = 'https://social-plugins.line.me/lineit/share?url=';
const url = location.href;
window.open(`\${lineUrl}\${url}`)
}
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 30
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 31
echo $this->extensions['Plugin\TabaCMS2\Twig\Extension\TwigExtension']->asset("style.css", "style");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 34
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 35
echo "<div class=\"flex w-[990px] justify-between mx-auto mt-[40px] lg:mt-6 lg:w-full lg:flex-col lg:items-center lg:px-4\">
<div class=\"w-[720px] text-[#000000] md:w-full\">
";
// line 37
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 37, $this->source); })()), "getThumbnail", [], "any", false, false, true, 37))) {
// line 38
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 38, $this->source); })()), "getThumbnail", [], "any", false, false, true, 38), 38, $this->source), "save_image"), "html", null, true);
echo "\" class=\"w-full h-[500px] object-cover mb-10 md:mb-3\">
";
}
// line 40
echo " <div class=\"px-[60px] md:px-0\">
<h1 class=\"text-3xl font-extralight text-center mb-5 md:text-xl md:mb-3\">";
// line 41
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 41, $this->source); })()), "getTitle", [], "any", false, false, true, 41), 41, $this->source);
echo "</h1>
<div class=\"flex gap-4 text-sm mb-10 md:mb-6 md:text-xs md:gap-3\">
<time class=\"\">
";
// line 44
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 44, $this->source); })()), "getPublicDate", [], "any", false, false, true, 44), 44, $this->source), "Y.m.d"), "html", null, true);
echo "更新
</time>
<span>";
// line 46
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 46, $this->source); })()), "category", [], "any", false, false, true, 46), "categoryName", [], "any", false, false, true, 46), 46, $this->source), "html", null, true);
echo "</span>
</div>
<section>
";
// line 49
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 49, $this->source); })()), "getBody", [], "any", false, false, true, 49), 49, $this->source);
echo "
</section>
</div>
<div
class=\"hover mt-20 mb-6 md:mt-10\"
onclick=\"openLineShare()\"
>
<img class=\"h-8 w-8 md:mx-auto\" src=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/line-icon.svg"), "html", null, true);
echo "\" />
</div>
<div class=\"flex justify-center mb-10 md:mb-7\">
<a href=\"";
// line 59
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "reading"]);
echo "\" class=\"text-lg hover underline md:text-sm\">
<p>記事一覧</p>
</a>
</div>
";
// line 63
if ( !twig_test_empty((isset($context["new_post_list"]) || array_key_exists("new_post_list", $context) ? $context["new_post_list"] : (function () { throw new RuntimeError('Variable "new_post_list" does not exist.', 63, $this->source); })()))) {
// line 64
echo " <div class=\"pt-8 px-20 lg:py-4 border-t-2 border-[#CCC] lg:px-0\">
<h3 class=\"text-lg font-bold mb-6 md:mb-4 md:text-base\">新着記事:</h3>
<ul class=\"flex flex-col gap-4\">
";
// line 67
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["new_post_list"]) || array_key_exists("new_post_list", $context) ? $context["new_post_list"] : (function () { throw new RuntimeError('Variable "new_post_list" does not exist.', 67, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 68
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["post"], "getURI", [], "any", false, false, true, 68), 68, $this->source), "html", null, true);
echo "\" class=\"hover\">
<li class=\"flex gap-[2%] md:gap-[4%]\">
<img src=\"";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["post"], "thumbnail", [], "any", false, false, true, 70), 70, $this->source)), "save_image"), "html", null, true);
echo "\" class=\"w-[28%] h-[88px] object-contain md:w-[18%]\"></img>
<p class=\"w-[68%] underline md:text-sm md:w-[80%]\">";
// line 71
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, true, 71), 71, $this->source), "html", null, true);
echo "</p>
</li>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
echo " </ul>
</div>
";
}
// line 78
echo " </div>
<div class=\"w-[200px] lg:w-full flex flex-col lg:pt-4 lg:border-t-2 border-[#CCC]\">
<div class=\"text-sm font-light text-[#000] lg:p-7 lg:mt-7 lg:bg-[#F6F6F6]\">
<p>Category :</p>
<div class=\"mt-[10px] text-[#000000] lg:font-normal\">
";
// line 83
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["category_list"]) || array_key_exists("category_list", $context) ? $context["category_list"] : (function () { throw new RuntimeError('Variable "category_list" does not exist.', 83, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 84
echo " <p>
<button class=\"category-button w-full text-left my-[2px] underline hover\" data-category-key=\"";
// line 85
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["category"], "dataKey", [], "any", false, false, true, 85), 85, $this->source), "html", null, true);
echo "\">
";
// line 86
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["category"], "categoryName", [], "any", false, false, true, 86), 86, $this->source), "html", null, true);
echo " (";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["category"], "postCount", [], "any", false, false, true, 86), 86, $this->source), "html", null, true);
echo ")
</button>
</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 90
echo " </div>
</div>
<div class=\"mb-[20px] hover mt-[25px] lg:hidden\">
<a href=\"";
// line 93
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "showroom"]);
echo "\">
<img src=\"";
// line 94
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/info/showroom.svg"), "html", null, true);
echo "\" class=\"w-full\">
</a>
</div>
<div class=\"second mb-[20px] hover lg:hidden\">
";
// line 99
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/info/catalog.svg"), "html", null, true);
echo "\" class=\"w-full\">
";
// line 101
echo " </div>
</div>
</div>
<div class=\"w-[990px] mx-auto lg:w-full\">
<div class=\"w-full lg:px-12 mt-[130px] md:mt-10 mb-8 md:mb-0\">
\t <ul id=\"breadcrumbs\" class=\"border-t-[1px] border-[#EFEFEF] py-5 md:py-4 w-full md:text-xs text-sm tracking-widest flex items-center gap-x-1\">
<li>
<a href=\"";
// line 108
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\" class=\"hover\">
<span>HOME</span>
</a>
</li>
<span>/</span>
<li>
<a href=\"";
// line 114
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "reading"]);
echo "\" class=\"hover\">
<span>お知らせ</span>
</a>
</li>
<span>/</span>
<li>
<span>";
// line 120
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 120, $this->source); })()), "title", [], "any", false, false, true, 120), 120, $this->source), "html", null, true);
echo "</span>
</li>
</ul>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@TabaCMS2/default/post.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 305 => 120, 296 => 114, 287 => 108, 278 => 101, 273 => 99, 266 => 94, 262 => 93, 257 => 90, 245 => 86, 241 => 85, 238 => 84, 234 => 83, 227 => 78, 222 => 75, 212 => 71, 208 => 70, 202 => 68, 198 => 67, 193 => 64, 191 => 63, 184 => 59, 178 => 56, 168 => 49, 162 => 46, 157 => 44, 151 => 41, 148 => 40, 142 => 38, 140 => 37, 136 => 35, 126 => 34, 114 => 31, 104 => 30, 85 => 20, 81 => 19, 71 => 18, 60 => 7, 58 => 16, 56 => 13, 54 => 11, 52 => 9, 39 => 7,);
}
public function getSourceContext()
{
return new Source("{#
Copyright (C) SPREAD WORKS Inc. All Rights Reserved.
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set category_list = TabaCMSCategoryList({type_data_key:'news'}) %}
{% set new_post_list = TabaCMSPostList({ page_count: 5, type_data_key: 'news', category_data_key: app.request.query.get('category_data_key') }) %}
{% set body_class = 'tabacms_post_page' %}
{# 投稿データの取得 #}
{% set post = TabaCMSPost() %}
{% block javascript %}
{{ TabaCMSAsset('script.js','script')|raw }}
{{ post.getScript|raw }}
<script>
function openLineShare() {
const lineUrl = 'https://social-plugins.line.me/lineit/share?url=';
const url = location.href;
window.open(`\${lineUrl}\${url}`)
}
</script>
{% endblock javascript %}
{% block stylesheet %}
{{ TabaCMSAsset('style.css','style')|raw }}
{% endblock stylesheet %}
{% block main %}
<div class=\"flex w-[990px] justify-between mx-auto mt-[40px] lg:mt-6 lg:w-full lg:flex-col lg:items-center lg:px-4\">
<div class=\"w-[720px] text-[#000000] md:w-full\">
{% if post.getThumbnail is not empty %}
<img src=\"{{ asset(post.getThumbnail,'save_image') }}\" class=\"w-full h-[500px] object-cover mb-10 md:mb-3\">
{% endif %}
<div class=\"px-[60px] md:px-0\">
<h1 class=\"text-3xl font-extralight text-center mb-5 md:text-xl md:mb-3\">{{ post.getTitle|raw }}</h1>
<div class=\"flex gap-4 text-sm mb-10 md:mb-6 md:text-xs md:gap-3\">
<time class=\"\">
{{ post.getPublicDate|date('Y.m.d') }}更新
</time>
<span>{{ post.category.categoryName }}</span>
</div>
<section>
{{ post.getBody|raw }}
</section>
</div>
<div
class=\"hover mt-20 mb-6 md:mt-10\"
onclick=\"openLineShare()\"
>
<img class=\"h-8 w-8 md:mx-auto\" src=\"{{ asset('assets/icon/line-icon.svg') }}\" />
</div>
<div class=\"flex justify-center mb-10 md:mb-7\">
<a href=\"{{ url('user_data',{'route':'reading'}) }}\" class=\"text-lg hover underline md:text-sm\">
<p>記事一覧</p>
</a>
</div>
{% if new_post_list is not empty %}
<div class=\"pt-8 px-20 lg:py-4 border-t-2 border-[#CCC] lg:px-0\">
<h3 class=\"text-lg font-bold mb-6 md:mb-4 md:text-base\">新着記事:</h3>
<ul class=\"flex flex-col gap-4\">
{% for post in new_post_list %}
<a href=\"{{ post.getURI }}\" class=\"hover\">
<li class=\"flex gap-[2%] md:gap-[4%]\">
<img src=\"{{ asset(post.thumbnail|no_image_product, 'save_image') }}\" class=\"w-[28%] h-[88px] object-contain md:w-[18%]\"></img>
<p class=\"w-[68%] underline md:text-sm md:w-[80%]\">{{ post.title }}</p>
</li>
</a>
{% endfor %}
</ul>
</div>
{% endif %}
</div>
<div class=\"w-[200px] lg:w-full flex flex-col lg:pt-4 lg:border-t-2 border-[#CCC]\">
<div class=\"text-sm font-light text-[#000] lg:p-7 lg:mt-7 lg:bg-[#F6F6F6]\">
<p>Category :</p>
<div class=\"mt-[10px] text-[#000000] lg:font-normal\">
{% for category in category_list %}
<p>
<button class=\"category-button w-full text-left my-[2px] underline hover\" data-category-key=\"{{ category.dataKey }}\">
{{ category.categoryName }} ({{ category.postCount }})
</button>
</p>
{% endfor %}
</div>
</div>
<div class=\"mb-[20px] hover mt-[25px] lg:hidden\">
<a href=\"{{ url('user_data',{'route': 'showroom'}) }}\">
<img src=\"{{ asset('assets/img/info/showroom.svg') }}\" class=\"w-full\">
</a>
</div>
<div class=\"second mb-[20px] hover lg:hidden\">
{# <a href=\"{{ url('contact_catalog') }}\"> #}
<img src=\"{{ asset('assets/img/info/catalog.svg') }}\" class=\"w-full\">
{# </a> #}
</div>
</div>
</div>
<div class=\"w-[990px] mx-auto lg:w-full\">
<div class=\"w-full lg:px-12 mt-[130px] md:mt-10 mb-8 md:mb-0\">
\t <ul id=\"breadcrumbs\" class=\"border-t-[1px] border-[#EFEFEF] py-5 md:py-4 w-full md:text-xs text-sm tracking-widest flex items-center gap-x-1\">
<li>
<a href=\"{{ url('homepage') }}\" class=\"hover\">
<span>HOME</span>
</a>
</li>
<span>/</span>
<li>
<a href=\"{{ url('user_data',{'route': 'reading'}) }}\" class=\"hover\">
<span>お知らせ</span>
</a>
</li>
<span>/</span>
<li>
<span>{{post.title}}</span>
</li>
</ul>
</div>
</div>
{% endblock %}
", "@TabaCMS2/default/post.twig", "/home/xs082386/manaka-store.com/public_html/renewal.manaka-store.com/app/Plugin/TabaCMS2/Resource/template/default/post.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 9, "if" => 37, "for" => 67);
static $filters = array("raw" => 19, "escape" => 38, "date" => 44, "no_image_product" => 70);
static $functions = array("TabaCMSCategoryList" => 9, "TabaCMSPostList" => 11, "TabaCMSPost" => 16, "TabaCMSAsset" => 19, "asset" => 38, "url" => 59);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['raw', 'escape', 'date', 'no_image_product'],
['TabaCMSCategoryList', 'TabaCMSPostList', 'TabaCMSPost', 'TabaCMSAsset', 'asset', 'url']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}