<?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;
/* Special/detail.twig */
class __TwigTemplate_dc8970ffda45a1bf8e0897494474b444 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
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", "Special/detail.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Special/detail.twig"));
// line 2
$context["breadcrumbs"] = [0 => ["name" => "SPECIAL", "route" => "special"], 1 => ["name" => 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.', 2, $this->source); })()), "title", [], "any", false, false, true, 2)]];
// line 4
$context["share_url"] = twig_urlencode_filter($this->sandbox->ensureToStringAllowed(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.', 4, $this->source); })()), "request", [], "any", false, false, true, 4), "getUri", [], "any", false, false, true, 4), 4, $this->source));
// line 5
$context["share_title"] = twig_nl2br($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.', 5, $this->source); })()), "title", [], "any", false, false, true, 5), 5, $this->source));
// line 6
if ( !twig_test_empty(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.', 6, $this->source); })()), "special_kv_pc", [], "any", false, false, true, 6), "url", [], "any", false, false, true, 6))) {
// line 7
$context["share_media"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($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.', 7, $this->source); })()), "special_kv_pc", [], "any", false, false, true, 7), "url", [], "any", false, false, true, 7), 7, $this->source), "save_image");
} else {
// line 9
$context["share_media"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top-page/FV.webp");
}
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Special/detail.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
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 13
echo "\t<link rel=\"stylesheet\" href=\"/html/template/default/assets/css/content.css\">
<link rel=\"stylesheet\" href=\"/html/template/default/assets/css/frame03.css\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 17
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 18
echo "\t<script>
\t\t\$(function () {
\$('#js-button-copy').click(function () {
const url = \$(this).data('url');
navigator.clipboard.writeText(url);
});
});
\t</script>
<script>
\t\t\$(function(){
\t\t\t\$('.slide-img:not(\".slide-img-slow\")').slick({
autoplay: true,
autoplaySpeed: 3000,
arrows: false,
dots: false,
infinite: true,
speed: 800,
slidesToShow: 1,
variableWidth: true,
centerMode: true,
responsive: [
{
breakpoint: 750,
settings: {
variableWidth: true,
centerMode: true,
}
}
]
\t\t });
\$('.slide-img-slow').not('.slick-initialized').slick({
autoplay: true,
autoplaySpeed: 0,
arrows: false,
dots: false,
speed: 18000,
infinite: true,
cssEase: 'linear',
slidesToShow: 1,
variableWidth: true,
centerMode: true,
draggable: false,
touchMove: false,
pauseOnFocus: false,
pauseOnHover: false,
});
\$('.slide-img-slow').css('opacity',1);
\$('.slide-img-slow').find('img').each(function(){
var ctrl = \$(this);
console.log(ctrl);
ctrl.attr('src',ctrl.data('src'));
});
});
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 74
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 75
echo "\t<section>
\t\t<div class=\"w-full\">
<div class=\"flex flex-col items-center w-full mb-6\">
<img src=\"";
// line 78
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.', 78, $this->source); })()), "special_kv_pc", [], "any", false, false, true, 78), "url", [], "any", false, false, true, 78), 78, $this->source), "html", null, true);
echo "\" class=\"object-cover h-[640px] w-full overflow-hidden md:h-[450px]\" alt=\"サムネイル\">
\t\t\t\t<div class=\"max-w-[880px] w-full lg:w-[86.6vw] md:mx-6 bg-black bg-opacity-80 text-white px-12 py-14 md:py-8 md:px-6 flex-col flex mt-[-24px] relative\">
<time datetime=\"";
// line 80
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.', 80, $this->source); })()), "post_date", [], "any", false, false, true, 80), 80, $this->source), "Y-m-d"), "html", null, true);
echo "\" class=\"text-end text-[#B0B0B0] text-sm md:text-xs absolute top-[4px] right-[8px] \"><span>";
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.', 80, $this->source); })()), "post_date", [], "any", false, false, true, 80), 80, $this->source), "Y.m.d"), "html", null, true);
echo "</span></time>
<div class=\"flex items-center border border-white w-fit mb-3 text-sm sm:text-xs px-3 py-[2px] text-white\">
";
// line 82
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 82, $this->source); })()), "categories", [], "any", false, false, true, 82));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 83
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("special_posts", ["category" => twig_get_attribute($this->env, $this->source, $context["category"], "term_id", [], "any", false, false, true, 83)]), "html", null, true);
echo "\"><span class=\"text-white\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, true, 83), 83, $this->source), "html", null, true);
echo "</span></a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
echo " </div>
<h1 class=\"text-3xl md:text-xl leading-loose tracking-[5px]\">";
// line 86
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.', 86, $this->source); })()), "title", [], "any", false, false, true, 86), 86, $this->source), "html", null, true);
echo "</h1>
</div>
</div>
\t\t\t<div class=\"col-span-2 md:col-span-1 md:row-start-2 md:row-end-3\">
\t\t\t\t";
// line 90
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/breadcrumb.twig");
echo "
\t\t\t</div>
\t\t</div>
\t</section>
\t<section id=\"page_special_detail\" class=\"bg-essay px-6 pb-[7.5rem] md:pb-20 text-black\">
\t\t<div class=\"section-cont text-[10px] tracking-wide leading-4\">
\t\t\t";
// line 96
echo twig_nl2br($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.', 96, $this->source); })()), "content", [], "any", false, false, true, 96), 96, $this->source));
echo "
\t\t</div>
\t</section>
\t";
// line 115
echo "\t<section class=\"px-6 py-[7.5rem] md:py-20\">
\t\t<div class=\"\">
\t\t\t<h2 class=\"font-medium leading-normal text-center text-base\">記事をシェアする</h2>
\t\t\t<div class=\"flex justify-center items-center mt-6 gap-6\">
\t\t\t\t<a href=\"https://social-plugins.line.me/lineit/share?url=";
// line 119
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_url"]) || array_key_exists("share_url", $context) ? $context["share_url"] : (function () { throw new RuntimeError('Variable "share_url" does not exist.', 119, $this->source); })()), 119, $this->source), "html", null, true);
echo "%0a";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_title"]) || array_key_exists("share_title", $context) ? $context["share_title"] : (function () { throw new RuntimeError('Variable "share_title" does not exist.', 119, $this->source); })()), 119, $this->source), "html", null, true);
echo "\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/LINE_LOGO.svg"), "html", null, true);
echo "\" alt=\"LINEのロゴ\" class=\"w-[2.1rem]\">
\t\t\t\t</a>
\t\t\t\t<a href=\"https://twitter.com/intent/tweet?url=";
// line 123
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_url"]) || array_key_exists("share_url", $context) ? $context["share_url"] : (function () { throw new RuntimeError('Variable "share_url" does not exist.', 123, $this->source); })()), 123, $this->source), "html", null, true);
echo "&text=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_title"]) || array_key_exists("share_title", $context) ? $context["share_title"] : (function () { throw new RuntimeError('Variable "share_title" does not exist.', 123, $this->source); })()), 123, $this->source), "html", null, true);
echo "\" rel=\"nofollow noopener\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/X_LOGO.svg"), "html", null, true);
echo "\" alt=\"Xのロゴ\" class=\"w-7\">
\t\t\t\t</a>
\t\t\t\t<a href=\"https://www.facebook.com/sharer/sharer.php?u=";
// line 126
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_url"]) || array_key_exists("share_url", $context) ? $context["share_url"] : (function () { throw new RuntimeError('Variable "share_url" does not exist.', 126, $this->source); })()), 126, $this->source), "html", null, true);
echo "\" rel=\"nofollow noopener\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"";
// line 127
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/FB_LOGO.svg"), "html", null, true);
echo "\" alt=\"FaceBookのロゴ\" class=\"w-[2.1rem]\">
\t\t\t\t</a>
\t\t\t\t<a href=\"http://pinterest.com/pin/create/button/?url=";
// line 129
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_url"]) || array_key_exists("share_url", $context) ? $context["share_url"] : (function () { throw new RuntimeError('Variable "share_url" does not exist.', 129, $this->source); })()), 129, $this->source), "html", null, true);
echo "&media=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_media"]) || array_key_exists("share_media", $context) ? $context["share_media"] : (function () { throw new RuntimeError('Variable "share_media" does not exist.', 129, $this->source); })()), 129, $this->source), "html", null, true);
echo "&description=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["share_title"]) || array_key_exists("share_title", $context) ? $context["share_title"] : (function () { throw new RuntimeError('Variable "share_title" does not exist.', 129, $this->source); })()), 129, $this->source), "html", null, true);
echo "\" rel=\"nofollow\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"";
// line 130
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/Pinterest_LOGO.svg"), "html", null, true);
echo "\" alt=\"Pinterestのロゴ\" class=\"w-[2.1rem]\">
\t\t\t\t</a>
\t\t\t\t<button id=\"js-button-copy\" data-url=\"";
// line 132
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["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 132, $this->source); })()), "request", [], "any", false, false, true, 132), "getUri", [], "any", false, false, true, 132), 132, $this->source), "html", null, true);
echo "\" class=\"relative hover\">
\t\t\t\t\t<img src=\"";
// line 133
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/share.svg"), "html", null, true);
echo "\" alt=\"コピー\" class=\"w-[2.1rem]\">
\t\t\t\t</button>
\t\t\t</div>
\t\t\t<a href=\"";
// line 136
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("special_posts");
echo "\" class=\"md:w-full w-80 border grid place-items-center h-11 mx-auto mt-20 text-sm rounded-[0.18rem] hover\">SPECIAL一覧に戻る</a>
\t\t</div>
\t</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Special/detail.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 301 => 136, 295 => 133, 291 => 132, 286 => 130, 278 => 129, 273 => 127, 269 => 126, 264 => 124, 258 => 123, 253 => 121, 246 => 119, 240 => 115, 234 => 96, 225 => 90, 218 => 86, 215 => 85, 204 => 83, 200 => 82, 193 => 80, 188 => 78, 183 => 75, 173 => 74, 109 => 18, 99 => 17, 87 => 13, 77 => 12, 66 => 1, 63 => 9, 60 => 7, 58 => 6, 56 => 5, 54 => 4, 52 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% set breadcrumbs = [{'name': 'SPECIAL', 'route': 'special'}, {'name': post.title }] %}
{% set share_url = app.request.getUri|url_encode() %}
{% set share_title = post.title|raw|nl2br %}
{% if post.special_kv_pc.url is not empty %}
\t{% set share_media = asset(post.special_kv_pc.url,'save_image') %}
{% else %}
\t{% set share_media = asset('assets/img/top-page/FV.webp') %}
{% endif %}
{% block stylesheet %}
\t<link rel=\"stylesheet\" href=\"/html/template/default/assets/css/content.css\">
<link rel=\"stylesheet\" href=\"/html/template/default/assets/css/frame03.css\">
{% endblock %}
{% block javascript %}
\t<script>
\t\t\$(function () {
\$('#js-button-copy').click(function () {
const url = \$(this).data('url');
navigator.clipboard.writeText(url);
});
});
\t</script>
<script>
\t\t\$(function(){
\t\t\t\$('.slide-img:not(\".slide-img-slow\")').slick({
autoplay: true,
autoplaySpeed: 3000,
arrows: false,
dots: false,
infinite: true,
speed: 800,
slidesToShow: 1,
variableWidth: true,
centerMode: true,
responsive: [
{
breakpoint: 750,
settings: {
variableWidth: true,
centerMode: true,
}
}
]
\t\t });
\$('.slide-img-slow').not('.slick-initialized').slick({
autoplay: true,
autoplaySpeed: 0,
arrows: false,
dots: false,
speed: 18000,
infinite: true,
cssEase: 'linear',
slidesToShow: 1,
variableWidth: true,
centerMode: true,
draggable: false,
touchMove: false,
pauseOnFocus: false,
pauseOnHover: false,
});
\$('.slide-img-slow').css('opacity',1);
\$('.slide-img-slow').find('img').each(function(){
var ctrl = \$(this);
console.log(ctrl);
ctrl.attr('src',ctrl.data('src'));
});
});
\t</script>
{% endblock javascript %}
{% block main %}
\t<section>
\t\t<div class=\"w-full\">
<div class=\"flex flex-col items-center w-full mb-6\">
<img src=\"{{ post.special_kv_pc.url }}\" class=\"object-cover h-[640px] w-full overflow-hidden md:h-[450px]\" alt=\"サムネイル\">
\t\t\t\t<div class=\"max-w-[880px] w-full lg:w-[86.6vw] md:mx-6 bg-black bg-opacity-80 text-white px-12 py-14 md:py-8 md:px-6 flex-col flex mt-[-24px] relative\">
<time datetime=\"{{ post.post_date|date('Y-m-d') }}\" class=\"text-end text-[#B0B0B0] text-sm md:text-xs absolute top-[4px] right-[8px] \"><span>{{ post.post_date|date('Y.m.d') }}</span></time>
<div class=\"flex items-center border border-white w-fit mb-3 text-sm sm:text-xs px-3 py-[2px] text-white\">
{% for category in post.categories %}
<a href=\"{{ url('special_posts', { category: category.term_id }) }}\"><span class=\"text-white\">{{ category.name }}</span></a>
{% endfor %}
</div>
<h1 class=\"text-3xl md:text-xl leading-loose tracking-[5px]\">{{ post.title }}</h1>
</div>
</div>
\t\t\t<div class=\"col-span-2 md:col-span-1 md:row-start-2 md:row-end-3\">
\t\t\t\t{{ include('Block/breadcrumb.twig') }}
\t\t\t</div>
\t\t</div>
\t</section>
\t<section id=\"page_special_detail\" class=\"bg-essay px-6 pb-[7.5rem] md:pb-20 text-black\">
\t\t<div class=\"section-cont text-[10px] tracking-wide leading-4\">
\t\t\t{{ post.content|raw|nl2br }}
\t\t</div>
\t</section>
\t{# <section class=\"py-20 bg-sub-beige-pale text-center text-black text-sm leading-normal\">
\t\t<div class=\"w-[20rem] mx-auto\">
\t\t\t<h2 class=\"text-lg font-medium\">関連商品</h2>
\t\t\t<div class=\"grid mt-6 gap-6\">
\t\t\t\t<hgroup class=\"font-light font-notoserif\">
\t\t\t\t\t<h3 class=\" text-[2rem] tracking-[0.2em]\">warm</h3>
\t\t\t\t\t<p class=\"tracking-wider\">ウォーム</p>
\t\t\t\t</hgroup>
\t\t\t\t<a href=\"#\" class=\"grid place-items-center w-64 border border-black rounded-[0.18rem] tracking-wider mx-auto h-11 mt-4 hover\">詳しくはこちら</a>
\t\t\t\t<div class=\"aspect-square row-start-1 row-end-2\">
\t\t\t\t\t<img src=\"{{ asset('assets/img/top/img_item01_01.jpg') }}\" class=\"size-full object-cover\">
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section> #}
\t<section class=\"px-6 py-[7.5rem] md:py-20\">
\t\t<div class=\"\">
\t\t\t<h2 class=\"font-medium leading-normal text-center text-base\">記事をシェアする</h2>
\t\t\t<div class=\"flex justify-center items-center mt-6 gap-6\">
\t\t\t\t<a href=\"https://social-plugins.line.me/lineit/share?url={{share_url}}%0a{{share_title}}\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"{{asset('assets/icon/LINE_LOGO.svg')}}\" alt=\"LINEのロゴ\" class=\"w-[2.1rem]\">
\t\t\t\t</a>
\t\t\t\t<a href=\"https://twitter.com/intent/tweet?url={{share_url}}&text={{share_title}}\" rel=\"nofollow noopener\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"{{asset('assets/icon/X_LOGO.svg')}}\" alt=\"Xのロゴ\" class=\"w-7\">
\t\t\t\t</a>
\t\t\t\t<a href=\"https://www.facebook.com/sharer/sharer.php?u={{share_url}}\" rel=\"nofollow noopener\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"{{asset('assets/icon/FB_LOGO.svg')}}\" alt=\"FaceBookのロゴ\" class=\"w-[2.1rem]\">
\t\t\t\t</a>
\t\t\t\t<a href=\"http://pinterest.com/pin/create/button/?url={{share_url}}&media={{share_media}}&description={{share_title}}\" rel=\"nofollow\" target=\"_blank\" class=\"hover\">
\t\t\t\t\t<img src=\"{{asset('assets/icon/Pinterest_LOGO.svg')}}\" alt=\"Pinterestのロゴ\" class=\"w-[2.1rem]\">
\t\t\t\t</a>
\t\t\t\t<button id=\"js-button-copy\" data-url=\"{{app.request.getUri}}\" class=\"relative hover\">
\t\t\t\t\t<img src=\"{{asset('assets/icon/share.svg')}}\" alt=\"コピー\" class=\"w-[2.1rem]\">
\t\t\t\t</button>
\t\t\t</div>
\t\t\t<a href=\"{{ url('special_posts') }}\" class=\"md:w-full w-80 border grid place-items-center h-11 mx-auto mt-20 text-sm rounded-[0.18rem] hover\">SPECIAL一覧に戻る</a>
\t\t</div>
\t</section>
{% endblock %}
", "Special/detail.twig", "/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Special/detail.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 2, "if" => 6, "for" => 82);
static $filters = array("url_encode" => 4, "nl2br" => 5, "raw" => 5, "escape" => 78, "date" => 80);
static $functions = array("asset" => 7, "url" => 83, "include" => 90);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['url_encode', 'nl2br', 'raw', 'escape', 'date'],
['asset', 'url', 'include']
);
} 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;
}
}
}