app/template/default/default_frame.twig line 123

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. This file is part of EC-CUBE
  4. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  5. http://www.ec-cube.co.jp/
  6. For the full copyright and license information, please view the LICENSE
  7. file that was distributed with this source code.
  8. #}
  9. <html lang="{{ eccube_config.locale }}">
  10.     <head prefix="og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#">
  11.         <!-- Google Tag Manager -->
  12.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  13.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  14.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  15.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  16.         })(window,document,'script','dataLayer','GTM-TJB5GLHT');</script>
  17.         <!-- End Google Tag Manager -->
  18.         <meta charset="utf-8">
  19.         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  20.         <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  21.         
  22.         <title>
  23.         {%- set route = app.request.get('_route') -%}
  24.         {%- if route == 'homepage' -%}
  25.         ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  26.         {%- elseif route == 'product_detail' -%}
  27.         {{ Product.name }}|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  28.         {%- elseif route == 'product_list' -%}
  29.                 {%- if Category -%}
  30.                 {{ Category.name }}|商品一覧|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  31.                 {%- else -%}
  32.                 {{ title }}|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  33.                 {%- endif -%}
  34.         {%- elseif route == 'recipe' -%}
  35.                 {%- if Category -%}
  36.                 {{ Category.name }}|レシピ一覧|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  37.                 {%- elseif Tag -%}
  38.                 {{ Tag.name }}|レシピ一覧|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  39.                 {%- elseif Material -%}
  40.                 {{ Material.name }}|レシピ一覧|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  41.                 {%- else -%}
  42.                 レシピ一覧|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  43.                 {%- endif -%}
  44.         {%- elseif route == 'recipe_detail' -%}
  45.         {{ Recipe.name }}|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  46.         {%- else -%}
  47.         {{ title }}|ポン酢 通販 お取り寄せ|国産素材の手造りひろた食品【鍋つゆ・調味料も販売中】
  48.         {%- endif -%}
  49.         </title>
  50.         {% if Page.meta_tags is not empty %}
  51.             {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  52.             {% if Page.description is not empty %}
  53.                 <meta name="description" content="{{ Page.description }}">
  54.             {% endif %}
  55.         {% else %}
  56.             {{ include('meta.twig') }}
  57.         {% endif %}
  58.         {% if Page.author is not empty %}
  59.             <meta name="author" content="{{ Page.author }}">
  60.         {% endif %}
  61.         {% if Page.keyword is not empty %}
  62.             <meta name="keywords" content="{{ Page.keyword }}">
  63.         {% endif %}
  64.         {% if Page.meta_robots is not empty %}
  65.             <meta name="robots" content="{{ Page.meta_robots }}">
  66.         {% endif %}
  67.         <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  68.         <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  69.         <link rel="stylesheet" href="{{ asset('assets/css/lib/swiper-bundle.min.css', 'user_data') }}">
  70.         <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  71.         <link rel="stylesheet" href="{{ asset('assets/css/customize.css?v=20260403', 'user_data') }}">
  72.         <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  73.         {% block stylesheet %}{% endblock %}
  74.         <script>
  75.             $(function () {
  76. $.ajaxSetup({
  77. 'headers': {
  78. 'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  79. }
  80. });
  81. });
  82.         </script>
  83.         {# Layout: HEAD #}
  84.         {% if Layout.Head %}
  85.             {{ include('block.twig', {'Blocks': Layout.Head}) }}
  86.         {% endif %}
  87.         {# プラグイン用styleseetやmetatagなど #}
  88.         {% if plugin_assets is defined %}
  89.             {{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}
  90.         {% endif %}
  91.         <link rel="stylesheet" href="{{ asset('assets/css/customize.css?v=20250503', 'user_data') }}">
  92.     </head>
  93.     <body
  94.         id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  95.         <!-- Google Tag Manager (noscript) -->
  96.         <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TJB5GLHT"
  97.         height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  98.         <!-- End Google Tag Manager (noscript) -->
  99.         {# Layout: BODY_AFTER #}
  100.         {% if Layout.BodyAfter %}
  101.             {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  102.         {% endif %}
  103.         {% if isMaintenance %}
  104.             <div class="ec-maintenanceAlert">
  105.                 <div>
  106.                     <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  107.                     {{ 'メンテナンスモードが有効になっています。'|trans }}
  108.                 </div>
  109.             </div>
  110.         {% endif %}
  111.         <div
  112.             class="ec-layoutRole">
  113.             {# Layout: HEADER #}
  114.             {% if Layout.Header %}
  115.                 <header class="ec-layoutRole__header header">
  116.                     {{ include('block.twig', {'Blocks': Layout.Header}) }}
  117.                 </header>
  118.             {% endif %}
  119.             {# Layout: CONTENTS_TOP #}
  120.             {% if Layout.ContentsTop %}
  121.                 <div class="ec-layoutRole__contentTop">
  122.                     {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  123.                 </div>
  124.             {% endif %}
  125.             {# Layout: SIDE_LEFT #}
  126.             {% if Layout.SideLeft %}
  127.                 <aside class="ec-layoutRole__left">
  128.                     {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  129.                 </aside>
  130.             {% endif %}
  131.             {% set layoutRoleMain = 'ec-layoutRole__main' %}
  132.             {% if Layout.ColumnNum == 2 %}
  133.                 {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  134.             {% elseif Layout.ColumnNum == 3 %}
  135.                 {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  136.             {% endif %}
  137.             <main
  138.                 class="{{ layoutRoleMain }}">
  139.                 {# Layout: MAIN_TOP #}
  140.                 {% if Layout.MainTop %}
  141.                     <div class="ec-layoutRole__mainTop">
  142.                         {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  143.                     </div>
  144.                 {% endif %}
  145.                 {# MAIN AREA #}
  146.                 {% block main %}{% endblock %}
  147.                 {# Layout: MAIN_Bottom #}
  148.                 {% if Layout.MainBottom %}
  149.                     <div class="ec-layoutRole__mainBottom">
  150.                         {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  151.                     </div>
  152.                 {% endif %}
  153.             </main>
  154.             {# Layout: SIDE_RIGHT #}
  155.             {% if Layout.SideRight %}
  156.                 <aside class="ec-layoutRole__right">
  157.                     {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  158.                 </aside>
  159.             {% endif %}
  160.             {# Layout: CONTENTS_BOTTOM #}
  161.             {% if Layout.ContentsBottom %}
  162.                 <div class="ec-layoutRole__contentBottom">
  163.                     {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  164.                 </div>
  165.             {% endif %}
  166.             {# Layout: CONTENTS_FOOTER #}
  167.             {% if Layout.Footer %}
  168.                 <footer class="footer">
  169.                     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  170.                 </footer>
  171.             {% endif %}
  172.         </div>
  173.         <!-- ec-layoutRole -->
  174.         <div class="ec-overlayRole"></div>
  175.         <div class="ec-drawerRoleClose">
  176.             <i class="fas fa-times"></i>
  177.         </div>
  178.         <div
  179.             class="ec-drawerRole">
  180.             {# Layout: DRAWER #}
  181.             {% if Layout.Drawer %}
  182.                 {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  183.             {% endif %}
  184.         </div>
  185.         <script src="{{ asset('assets/js/lib/swiper-bundle.min.js', 'user_data') }}"></script>
  186.         {% include('@common/lang.twig') %}
  187.         <script src="{{ asset('assets/js/function.js') }}"></script>
  188.         <script src="{{ asset('assets/js/eccube.js') }}"></script>
  189.         {% block javascript %}{% endblock %}
  190.         {# Layout: CLOSE_BODY_BEFORE #}
  191.         {% if Layout.CloseBodyBefore %}
  192.             {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  193.         {% endif %}
  194.         {# プラグイン用Snippet #}
  195.         {% if plugin_snippets is defined %}
  196.             {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  197.         {% endif %}
  198.         <script src="{{ asset('assets/js/customize.js?v=20250502', 'user_data') }}"></script>
  199.     </body>
  200. </html>