var/cache/dev/twig/32/32b376ca94ff28e886e8c8871d33c6460953f754588b0263eef185fe7d0be125.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/news_detail.twig */
  14. class __TwigTemplate_3ea4da16ab9ca604bc24d096b8dcd84da196d20d57d00035060bf4d453248235 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/news_detail.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/news_detail.twig"));
  40.         $this->parent $this->loadTemplate("default_frame.twig""blog/news_detail.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_javascript($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_stylesheet($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  68.         // line 6
  69.         echo "<style>
  70. .pluginCMBblog .post_meta {
  71.     display: flex;
  72.     list-style: none;
  73.     margin: 0;
  74.     padding: 0;
  75.     width: 95%;
  76.     margin: 0 auto;
  77. }
  78. .pluginCMBblog .blog_category{
  79.     margin: 0;
  80.     padding: 0;
  81. }
  82. .pluginCMBblog .blog_category{
  83.     display: initial;
  84. }
  85. .pluginCMBblog .blog_category li{
  86.     display: initial;
  87.     border-right: 1px solid #ddd;
  88. }
  89. .pluginCMBblog .blog_category li:last-child {
  90.     border-right: none;
  91. }
  92. .pluginCMBblog .post_meta .post_meta_list{
  93.     padding-right: 2rem;
  94. }
  95. .pluginCMBblog .list_category_link{
  96.     color: #337ab7;
  97.     padding: 0 0.5rem;
  98. }
  99. .pluginCMBblog .main_image_blog{
  100.     padding: 3rem 0;
  101. }
  102. .pluginCMBblog .post_meta_list.time{
  103.     width: 15rem;
  104.     display: inline-table;
  105. }
  106. .pluginCMBblog .tag_dl{
  107.     display: flex;
  108. }
  109. .pluginCMBblog .blog_detail .blog_Title{
  110.     word-break: break-word;
  111.     margin-bottom: 20px;
  112. }
  113. .pluginCMBblog .cm_blog_main_image img{
  114.     max-width: 100%;
  115.     width: auto;
  116. }
  117. ul.tag-ul {
  118.     padding-left:8px;
  119.     list-style: none;
  120.     display: flex;
  121.     flex-wrap: wrap;
  122. }
  123. ul.tag-ul > li {
  124.     margin: 0.4em;
  125.     padding: 0 0.8em;
  126.     border: 1px solid #ccc;
  127.     border-radius: 5px;
  128. }
  129. ul.tag-ul > li > a:hover {
  130.     text-decoration: none;
  131. }
  132. h3.tag-header {
  133.   padding: 1rem 2rem;
  134.   border-left: 4px solid #000;
  135. }
  136. .w-100 {
  137.     width: 100%
  138. }
  139. .side-bar > div {
  140.     width: 90%;
  141.     margin:40px auto;
  142. }
  143. h5.tag-header {
  144.   padding: 1rem 2rem;
  145.   border-left: 4px solid #000;
  146. }
  147. .month-archive a {
  148.     text-decoration: underline;
  149.     display: block;
  150.     padding: 3px 27px;
  151. }
  152. .ec-productRole__description > p img {
  153.     width: calc(var(--width));
  154.     margin-bottom: 15px;
  155. }
  156. .archive-link-div {
  157.     max-height: 600px;
  158.     overflow-y: scroll;
  159. }
  160. .archive-link-div::-webkit-scrollbar {
  161.     display: none;
  162. }
  163. @media screen and (max-width: 768px){
  164.     .pluginCMBblog .post_meta {
  165.         display: block;
  166.     }
  167.     .pluginCMBblog .post_meta_list.time{
  168.         width: 100%;
  169.     }
  170.     .side-bar > div {
  171.         width: 100%
  172.     }
  173. }
  174. @media only screen and (min-width: 768px) {
  175.     .ec-shelfGrid .ec-shelfGrid__item-image {
  176.         height: 150px;
  177.     }
  178.     h3.tag-header {
  179.         margin: 63px 16px 20px;
  180.     }
  181.     .side-bar {
  182.         width: 280px;
  183.         background-color: #f6f6f6;
  184.     }
  185.     .ec-role {
  186.         display: flex;
  187.         justify-content: flex-start
  188.     }
  189.     .mt-65 {
  190.         margin-top: 65px!important;
  191.     }
  192. }
  193. </style>
  194. ";
  195.         
  196.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  197.         
  198.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  199.     }
  200.     // line 139
  201.     public function block_main($context, array $blocks = [])
  202.     {
  203.         $macros $this->macros;
  204.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  205.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  206.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  207.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  208.         // line 140
  209.         echo "
  210. <div class=\"ec-role blog_detail pluginCMBblog content__inner\">
  211.     <div class=\"w-100\">
  212.         <div class=\"ec-pageHeader\">
  213.             <h1 class=\"blog_Title\">";
  214.         // line 144
  215.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'144$this->source); })()), "title", [], "any"falsefalsefalse144), "html"nulltrue);
  216.         echo "</h1>
  217.         </div>
  218.         <ul class=\"post_meta \">
  219.             <li class=\"post_meta_list time\"><i class=\"fas fa-calendar-alt\"></i>&nbsp;";
  220.         // line 147
  221.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'147$this->source); })()), "release_date", [], "any"falsefalsefalse147), "Y年m月d日"), "html"nulltrue);
  222.         echo "</li>
  223.             ";
  224.         // line 149
  225.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'149$this->source); })()), "getBlogCategories", [], "any"falsefalsefalse149)) > 0)) {
  226.             // line 150
  227.             echo "            <li class=\"post_meta_list\">
  228.                 <dl class=\"tag_dl\">
  229.                     <dt><i class=\"fas fa-tags\"></i></dt>
  230.                     <dd>
  231.                         <ul class=\"blog_category\">
  232.                             ";
  233.             // line 155
  234.             $context['_parent'] = $context;
  235.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'155$this->source); })()), "getBlogCategories", [], "any"falsefalsefalse155));
  236.             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  237.                 // line 156
  238.                 echo "                            <li class=\"";
  239.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "getCategory", [], "any"falsefalsefalse156), "class", [], "any"falsefalsefalse156), "html"nulltrue);
  240.                 echo "\">
  241.                                 <a href=\"";
  242.                 // line 157
  243.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("news_list", ["categories" => [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "getCategory", [], "method"falsefalsefalse157), "getId", [], "method"falsefalsefalse157)]]), "html"nulltrue);
  244.                 echo "\" class=\"list_category_link\">
  245.                                 ";
  246.                 // line 158
  247.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["category"], "getCategory", [], "any"falsefalsefalse158), "getName", [], "any"falsefalsefalse158);
  248.                 echo "
  249.                                 </a>
  250.                             </li>
  251.                             ";
  252.             }
  253.             $_parent $context['_parent'];
  254.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  255.             $context array_intersect_key($context$_parent) + $_parent;
  256.             // line 162
  257.             echo "                        </ul>
  258.                     </dd>
  259.                 </dl>
  260.             </li>
  261.             ";
  262.         }
  263.         // line 167
  264.         echo "        </ul>
  265.         <div class=\"ec-off1Grid\">
  266.             <div class=\"ec-off1Grid__cell\">
  267.                 <div class=\"cm_blog_main_image\">
  268.                     ";
  269.         // line 171
  270.         if (twig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'171$this->source); })()), "getMainListImage", [], "any"falsefalsefalse171)) {
  271.             // line 172
  272.             echo "                    <img src=\"";
  273.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'172$this->source); })()), "getMainListImage", [], "any"falsefalsefalse172)), "save_image"), "html"nulltrue);
  274.             echo "\" class=\"main_image_blog\"></img>
  275.                     ";
  276.         } else {
  277.             // line 174
  278.             echo "                    <img class='item_blog_image'></img>
  279.                     ";
  280.         }
  281.         // line 176
  282.         echo "                </div>
  283.                     <div class=\"ec-grid2__cell\">
  284.                     <div class=\"ec-productRole__profile\">
  285.                         <div class=\"ec-productRole__description\">";
  286.         // line 179
  287.         echo twig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'179$this->source); })()), "body", [], "any"falsefalsefalse179);
  288.         echo "
  289.                         </div>
  290.                     </div>
  291.                 </div>
  292.             </div>
  293.         </div>
  294.         ";
  295.         // line 185
  296.         if ((twig_length_filter($this->env, (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'185$this->source); })())) > 0)) {
  297.             // line 186
  298.             echo "            <h3 class=\"tag-header\">";
  299.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("plg.CMBlogPro.blog.tag"), "html"nulltrue);
  300.             echo "</h3>
  301.             <ul class=\"tag-ul\">
  302.                 ";
  303.             // line 188
  304.             $context['_parent'] = $context;
  305.             $context['_seq'] = twig_ensure_traversable((isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'188$this->source); })()));
  306.             foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  307.                 // line 189
  308.                 echo "                    <li>
  309.                         <a href=\"";
  310.                 // line 190
  311.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("news_list", ["tag" => twig_trim_filter($context["tag"])]), "html"nulltrue);
  312.                 echo "\">";
  313.                 echo twig_escape_filter($this->envtwig_trim_filter($context["tag"]), "html"nulltrue);
  314.                 echo "</a>
  315.                     </li>
  316.                 ";
  317.             }
  318.             $_parent $context['_parent'];
  319.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  320.             $context array_intersect_key($context$_parent) + $_parent;
  321.             // line 193
  322.             echo "            </ul>
  323.         ";
  324.         }
  325.         // line 195
  326.         echo "        ";
  327.         echo twig_include($this->env$context"Block/blog_related_product.twig", [], truetrue);
  328.         echo "
  329.         <div class=\"page__inner mt-50\">
  330.           <h2 class=\"mod_movie-h2\">
  331.             お知らせ一覧
  332.           </h2>
  333.           <div class=\"mod_movie-btn-more\">
  334.             <a href=\"";
  335.         // line 202
  336.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("news_list");
  337.         echo "\">お知らせ一覧に戻る</a>
  338.           </div>
  339.         </div>
  340.     </div>
  341.     ";
  342.         // line 207
  343.         echo "    ";
  344.         // line 208
  345.         echo "    ";
  346.         // line 209
  347.         echo "    ";
  348.         // line 210
  349.         echo "    ";
  350.         // line 211
  351.         echo "    ";
  352.         // line 212
  353.         echo "    ";
  354.         // line 213
  355.         echo "    ";
  356.         // line 214
  357.         echo "    ";
  358.         // line 215
  359.         echo "    ";
  360.         // line 216
  361.         echo "</div>
  362. ";
  363.         
  364.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  365.         
  366.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  367.     }
  368.     public function getTemplateName()
  369.     {
  370.         return "blog/news_detail.twig";
  371.     }
  372.     public function isTraitable()
  373.     {
  374.         return false;
  375.     }
  376.     public function getDebugInfo()
  377.     {
  378.         return array (  393 => 216,  391 => 215,  389 => 214,  387 => 213,  385 => 212,  383 => 211,  381 => 210,  379 => 209,  377 => 208,  375 => 207,  368 => 202,  357 => 195,  353 => 193,  342 => 190,  339 => 189,  335 => 188,  329 => 186,  327 => 185,  318 => 179,  313 => 176,  309 => 174,  303 => 172,  301 => 171,  295 => 167,  288 => 162,  278 => 158,  274 => 157,  269 => 156,  265 => 155,  258 => 150,  256 => 149,  251 => 147,  245 => 144,  239 => 140,  229 => 139,  88 => 6,  78 => 5,  60 => 3,  37 => 1,);
  379.     }
  380.     public function getSourceContext()
  381.     {
  382.         return new Source("{% extends 'default_frame.twig' %}
  383. {% block javascript %}{% endblock %}
  384. {% block stylesheet %}
  385. <style>
  386. .pluginCMBblog .post_meta {
  387.     display: flex;
  388.     list-style: none;
  389.     margin: 0;
  390.     padding: 0;
  391.     width: 95%;
  392.     margin: 0 auto;
  393. }
  394. .pluginCMBblog .blog_category{
  395.     margin: 0;
  396.     padding: 0;
  397. }
  398. .pluginCMBblog .blog_category{
  399.     display: initial;
  400. }
  401. .pluginCMBblog .blog_category li{
  402.     display: initial;
  403.     border-right: 1px solid #ddd;
  404. }
  405. .pluginCMBblog .blog_category li:last-child {
  406.     border-right: none;
  407. }
  408. .pluginCMBblog .post_meta .post_meta_list{
  409.     padding-right: 2rem;
  410. }
  411. .pluginCMBblog .list_category_link{
  412.     color: #337ab7;
  413.     padding: 0 0.5rem;
  414. }
  415. .pluginCMBblog .main_image_blog{
  416.     padding: 3rem 0;
  417. }
  418. .pluginCMBblog .post_meta_list.time{
  419.     width: 15rem;
  420.     display: inline-table;
  421. }
  422. .pluginCMBblog .tag_dl{
  423.     display: flex;
  424. }
  425. .pluginCMBblog .blog_detail .blog_Title{
  426.     word-break: break-word;
  427.     margin-bottom: 20px;
  428. }
  429. .pluginCMBblog .cm_blog_main_image img{
  430.     max-width: 100%;
  431.     width: auto;
  432. }
  433. ul.tag-ul {
  434.     padding-left:8px;
  435.     list-style: none;
  436.     display: flex;
  437.     flex-wrap: wrap;
  438. }
  439. ul.tag-ul > li {
  440.     margin: 0.4em;
  441.     padding: 0 0.8em;
  442.     border: 1px solid #ccc;
  443.     border-radius: 5px;
  444. }
  445. ul.tag-ul > li > a:hover {
  446.     text-decoration: none;
  447. }
  448. h3.tag-header {
  449.   padding: 1rem 2rem;
  450.   border-left: 4px solid #000;
  451. }
  452. .w-100 {
  453.     width: 100%
  454. }
  455. .side-bar > div {
  456.     width: 90%;
  457.     margin:40px auto;
  458. }
  459. h5.tag-header {
  460.   padding: 1rem 2rem;
  461.   border-left: 4px solid #000;
  462. }
  463. .month-archive a {
  464.     text-decoration: underline;
  465.     display: block;
  466.     padding: 3px 27px;
  467. }
  468. .ec-productRole__description > p img {
  469.     width: calc(var(--width));
  470.     margin-bottom: 15px;
  471. }
  472. .archive-link-div {
  473.     max-height: 600px;
  474.     overflow-y: scroll;
  475. }
  476. .archive-link-div::-webkit-scrollbar {
  477.     display: none;
  478. }
  479. @media screen and (max-width: 768px){
  480.     .pluginCMBblog .post_meta {
  481.         display: block;
  482.     }
  483.     .pluginCMBblog .post_meta_list.time{
  484.         width: 100%;
  485.     }
  486.     .side-bar > div {
  487.         width: 100%
  488.     }
  489. }
  490. @media only screen and (min-width: 768px) {
  491.     .ec-shelfGrid .ec-shelfGrid__item-image {
  492.         height: 150px;
  493.     }
  494.     h3.tag-header {
  495.         margin: 63px 16px 20px;
  496.     }
  497.     .side-bar {
  498.         width: 280px;
  499.         background-color: #f6f6f6;
  500.     }
  501.     .ec-role {
  502.         display: flex;
  503.         justify-content: flex-start
  504.     }
  505.     .mt-65 {
  506.         margin-top: 65px!important;
  507.     }
  508. }
  509. </style>
  510. {% endblock %}
  511. {% block main %}
  512. <div class=\"ec-role blog_detail pluginCMBblog content__inner\">
  513.     <div class=\"w-100\">
  514.         <div class=\"ec-pageHeader\">
  515.             <h1 class=\"blog_Title\">{{ blog.title }}</h1>
  516.         </div>
  517.         <ul class=\"post_meta \">
  518.             <li class=\"post_meta_list time\"><i class=\"fas fa-calendar-alt\"></i>&nbsp;{{blog.release_date|date('Y年m月d日')}}</li>
  519.             {% if blog.getBlogCategories|length > 0 %}
  520.             <li class=\"post_meta_list\">
  521.                 <dl class=\"tag_dl\">
  522.                     <dt><i class=\"fas fa-tags\"></i></dt>
  523.                     <dd>
  524.                         <ul class=\"blog_category\">
  525.                             {% for category in blog.getBlogCategories %}
  526.                             <li class=\"{{category.getCategory.class}}\">
  527.                                 <a href=\"{{ url('news_list', {categories: [category.getCategory().getId()]}) }}\" class=\"list_category_link\">
  528.                                 {{ category.getCategory.getName|raw }}
  529.                                 </a>
  530.                             </li>
  531.                             {% endfor %}
  532.                         </ul>
  533.                     </dd>
  534.                 </dl>
  535.             </li>
  536.             {% endif %}
  537.         </ul>
  538.         <div class=\"ec-off1Grid\">
  539.             <div class=\"ec-off1Grid__cell\">
  540.                 <div class=\"cm_blog_main_image\">
  541.                     {% if blog.getMainListImage %}
  542.                     <img src=\"{{ asset(blog.getMainListImage|no_image_product, 'save_image') }}\" class=\"main_image_blog\"></img>
  543.                     {% else %}
  544.                     <img class='item_blog_image'></img>
  545.                     {% endif %}
  546.                 </div>
  547.                     <div class=\"ec-grid2__cell\">
  548.                     <div class=\"ec-productRole__profile\">
  549.                         <div class=\"ec-productRole__description\">{{ blog.body|raw }}
  550.                         </div>
  551.                     </div>
  552.                 </div>
  553.             </div>
  554.         </div>
  555.         {% if tags|length > 0 %}
  556.             <h3 class=\"tag-header\">{{ 'plg.CMBlogPro.blog.tag'|trans }}</h3>
  557.             <ul class=\"tag-ul\">
  558.                 {% for tag in tags %}
  559.                     <li>
  560.                         <a href=\"{{ url('news_list', {tag: tag|trim }) }}\">{{ tag |trim }}</a>
  561.                     </li>
  562.                 {% endfor %}
  563.             </ul>
  564.         {% endif %}
  565.         {{ include('Block/blog_related_product.twig', {}, ignore_missing = true) }}
  566.         <div class=\"page__inner mt-50\">
  567.           <h2 class=\"mod_movie-h2\">
  568.             お知らせ一覧
  569.           </h2>
  570.           <div class=\"mod_movie-btn-more\">
  571.             <a href=\"{{ url('news_list') }}\">お知らせ一覧に戻る</a>
  572.           </div>
  573.         </div>
  574.     </div>
  575.     {#<div class=\"side-bar\">#}
  576.     {#    <div class=\"mt-65 month-archive\">#}
  577.     {#        <h5 class=\"tag-header\">{{ 'plg.CMBlogPro.blog.month_archive'|trans }}</h5>#}
  578.     {#        <div class=\"archive-link-div\">#}
  579.     {#            {% for key, month in monthArr %}#}
  580.     {#                <a href=\"{{ url('cm_blog_pro_page_list', {date: key}) }}\">{{ month }}</a>#}
  581.     {#            {% endfor %}#}
  582.     {#        </div>#}
  583.     {#    </div>#}
  584.     {#</div>#}
  585. </div>
  586. {% endblock %}
  587. ""blog/news_detail.twig""/home/mahjontv1326/kmj-tv.jp/public_html/dev.kmj-tv.jp/app/template/default/blog/news_detail.twig");
  588.     }
  589. }