app/template/default/default_frame.twig line 1

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.         <title>
  22.             {% if Page.url == 'homepage' %}
  23.                 ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  24.             {% elseif app.request.get('_route') == 'product_detail' %}
  25.                 {{ Product.name }}|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  26.             {% elseif app.request.get('_route') == 'product_list' %}
  27.                 {% if Category %}
  28.                     {{ Category.name }}|商品一覧|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  29.                 {% else %}
  30.                     {{ title }}|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  31.                 {% endif %}
  32.             {% elseif app.request.get('_route') == 'recipe' %}
  33.                 {% if Category %}
  34.                     {{ Category.name }}|レシピ一覧|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  35.                 {% elseif Tag %}
  36.                     {{ Tag.name }}|レシピ一覧|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  37.                 {% elseif Material %}
  38.                     {{ Material.name }}|レシピ一覧|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  39.                 {% else %}
  40.                     レシピ一覧|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  41.                 {% endif %}
  42.             {% elseif app.request.get('_route') == 'recipe_detail' %}
  43.                 {{ Recipe.name}}|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  44.             {% else %}
  45.                 {{ title }}|ぽん酢・つゆ・調味料の通販/お取り寄せ|手造りひろた食品株式会社
  46.             {% endif %}
  47.         </title>
  48.         {% if Page.meta_tags is not empty %}
  49.             {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  50.             {% if Page.description is not empty %}
  51.                 <meta name="description" content="{{ Page.description }}">
  52.             {% endif %}
  53.         {% else %}
  54.             {{ include('meta.twig') }}
  55.         {% endif %}
  56.         {% if Page.author is not empty %}
  57.             <meta name="author" content="{{ Page.author }}">
  58.         {% endif %}
  59.         {% if Page.keyword is not empty %}
  60.             <meta name="keywords" content="{{ Page.keyword }}">
  61.         {% endif %}
  62.         {% if Page.meta_robots is not empty %}
  63.             <meta name="robots" content="{{ Page.meta_robots }}">
  64.         {% endif %}
  65.         <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  66.         <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  67.         <link rel="stylesheet" href="{{ asset('assets/css/lib/swiper-bundle.min.css', 'user_data') }}">
  68.         <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  69.         <link rel="stylesheet" href="{{ asset('assets/css/customize.css?v=20240919', 'user_data') }}">
  70.         <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  71.         {% block stylesheet %}{% endblock %}
  72.         <script>
  73.             $(function () {
  74. $.ajaxSetup({
  75. 'headers': {
  76. 'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  77. }
  78. });
  79. });
  80.         </script>
  81.         {# Layout: HEAD #}
  82.         {% if Layout.Head %}
  83.             {{ include('block.twig', {'Blocks': Layout.Head}) }}
  84.         {% endif %}
  85.         {# プラグイン用styleseetやmetatagなど #}
  86.         {% if plugin_assets is defined %}
  87.             {{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}
  88.         {% endif %}
  89.         <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  90.     </head>
  91.     <body
  92.         id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  93.         <!-- Google Tag Manager (noscript) -->
  94.         <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TJB5GLHT"
  95.         height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  96.         <!-- End Google Tag Manager (noscript) -->
  97.         {# Layout: BODY_AFTER #}
  98.         {% if Layout.BodyAfter %}
  99.             {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  100.         {% endif %}
  101.         {% if isMaintenance %}
  102.             <div class="ec-maintenanceAlert">
  103.                 <div>
  104.                     <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  105.                     {{ 'メンテナンスモードが有効になっています。'|trans }}
  106.                 </div>
  107.             </div>
  108.         {% endif %}
  109.         <div
  110.             class="ec-layoutRole">
  111.             {# Layout: HEADER #}
  112.             {% if Layout.Header %}
  113.                 <header class="ec-layoutRole__header header">
  114.                     {{ include('block.twig', {'Blocks': Layout.Header}) }}
  115.                 </header>
  116.             {% endif %}
  117.             {# Layout: CONTENTS_TOP #}
  118.             {% if Layout.ContentsTop %}
  119.                 <div class="ec-layoutRole__contentTop">
  120.                     {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  121.                 </div>
  122.             {% endif %}
  123.             {# Layout: SIDE_LEFT #}
  124.             {% if Layout.SideLeft %}
  125.                 <aside class="ec-layoutRole__left">
  126.                     {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  127.                 </aside>
  128.             {% endif %}
  129.             {% set layoutRoleMain = 'ec-layoutRole__main' %}
  130.             {% if Layout.ColumnNum == 2 %}
  131.                 {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  132.             {% elseif Layout.ColumnNum == 3 %}
  133.                 {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  134.             {% endif %}
  135.             <main
  136.                 class="{{ layoutRoleMain }}">
  137.                 {# Layout: MAIN_TOP #}
  138.                 {% if Layout.MainTop %}
  139.                     <div class="ec-layoutRole__mainTop">
  140.                         {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  141.                     </div>
  142.                 {% endif %}
  143.                 {# MAIN AREA #}
  144.                 {% block main %}{% endblock %}
  145.                 {# Layout: MAIN_Bottom #}
  146.                 {% if Layout.MainBottom %}
  147.                     <div class="ec-layoutRole__mainBottom">
  148.                         {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  149.                     </div>
  150.                 {% endif %}
  151.             </main>
  152.             {# Layout: SIDE_RIGHT #}
  153.             {% if Layout.SideRight %}
  154.                 <aside class="ec-layoutRole__right">
  155.                     {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  156.                 </aside>
  157.             {% endif %}
  158.             {# Layout: CONTENTS_BOTTOM #}
  159.             {% if Layout.ContentsBottom %}
  160.                 <div class="ec-layoutRole__contentBottom">
  161.                     {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  162.                 </div>
  163.             {% endif %}
  164.             {# Layout: CONTENTS_FOOTER #}
  165.             {% if Layout.Footer %}
  166.                 <footer class="footer">
  167.                     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  168.                 </footer>
  169.             {% endif %}
  170.         </div>
  171.         <!-- ec-layoutRole -->
  172.         <div class="ec-overlayRole"></div>
  173.         <div class="ec-drawerRoleClose">
  174.             <i class="fas fa-times"></i>
  175.         </div>
  176.         <div
  177.             class="ec-drawerRole">
  178.             {# Layout: DRAWER #}
  179.             {% if Layout.Drawer %}
  180.                 {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  181.             {% endif %}
  182.         </div>
  183.         <script src="{{ asset('assets/js/lib/swiper-bundle.min.js', 'user_data') }}"></script>
  184.         {% include('@common/lang.twig') %}
  185.         <script src="{{ asset('assets/js/function.js') }}"></script>
  186.         <script src="{{ asset('assets/js/eccube.js') }}"></script>
  187.         {% block javascript %}{% endblock %}
  188.         {# Layout: CLOSE_BODY_BEFORE #}
  189.         {% if Layout.CloseBodyBefore %}
  190.             {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  191.         {% endif %}
  192.         {# プラグイン用Snippet #}
  193.         {% if plugin_snippets is defined %}
  194.             {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  195.         {% endif %}
  196.         <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  197.     </body>
  198. </html>