app/template/default/default_frame.twig line 73

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.     <meta charset="utf-8">
  12.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  13.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  15.     {% if Page.meta_tags is not empty %}
  16.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  17.         {% if Page.description is not empty %}
  18.             <meta name="description" content="{{ Page.description }}">
  19.         {% endif %}
  20.     {% else %}
  21.         {{ include('meta.twig') }}
  22.     {% endif %}
  23.     {% if Page.author is not empty %}
  24.         <meta name="author" content="{{ Page.author }}">
  25.     {% endif %}
  26.     {% if Page.keyword is not empty %}
  27.         <meta name="keywords" content="{{ Page.keyword }}">
  28.     {% endif %}
  29.     {% if Page.meta_robots is not empty %}
  30.         <meta name="robots" content="{{ Page.meta_robots }}">
  31.     {% endif %}
  32.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico') }}">
  33.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  34.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  35.     {% if app.request.getPathInfo() starts with '/products/detail/' %}
  36.         <link rel="stylesheet" href="{{ asset('assets/custom-css/import.css') }}">
  37.     {% endif %}
  38.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
  39.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  40.     <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
  41.     <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
  42.     {% block stylesheet %}{% endblock %}
  43.     {# Layout: HEAD #}
  44.     {% if Layout.Head %}
  45.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  46.     {% endif %}
  47.     {# プラグイン用styleseetやmetatagなど #}
  48.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  49.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  50. </head>
  51. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  52. {# Layout: BODY_AFTER #}
  53. {% if Layout.BodyAfter %}
  54.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  55. {% endif %}
  56. {% if isMaintenance %}
  57.     <div class="ec-maintenanceAlert">
  58.         <div>
  59.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  60.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  61.         </div>
  62.     </div>
  63. {% endif %}
  64. <div class="ec-layoutRole">
  65.     {# Layout: HEADER #}
  66.     {% if Layout.Header %}
  67.         <header class="ec-layoutRole__header">
  68.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  69.         </header>
  70.     {% endif %}
  71.     {# Layout: CONTENTS_TOP #}
  72.     {% if Layout.ContentsTop %}
  73.         <div class="ec-layoutRole__contentTop">
  74.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  75.         </div>
  76.     {% endif %}
  77.     <div class="ec-layoutRole__contents">
  78.         {# Layout: SIDE_LEFT #}
  79.         {% if Layout.SideLeft %}
  80.             <aside class="ec-layoutRole__left">
  81.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  82.             </aside>
  83.         {% endif %}
  84.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  85.         {% if Layout.ColumnNum == 2 %}
  86.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  87.         {% elseif Layout.ColumnNum == 3 %}
  88.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  89.         {% endif %}
  90.         <main class="{{ layoutRoleMain }}">
  91.             {# Layout: MAIN_TOP #}
  92.             {% if Layout.MainTop %}
  93.                 <div class="ec-layoutRole__mainTop">
  94.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  95.                 </div>
  96.             {% endif %}
  97.             {# MAIN AREA #}
  98.             {% block main %}{% endblock %}
  99.             {# Layout: MAIN_Bottom #}
  100.             {% if Layout.MainBottom %}
  101.                 <div class="ec-layoutRole__mainBottom">
  102.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  103.                 </div>
  104.             {% endif %}
  105.         </main>
  106.         {# Layout: SIDE_RIGHT #}
  107.         {% if Layout.SideRight %}
  108.             <aside class="ec-layoutRole__right">
  109.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  110.             </aside>
  111.         {% endif %}
  112.     </div>
  113.     {# Layout: CONTENTS_BOTTOM #}
  114.     {% if Layout.ContentsBottom %}
  115.         <div class="ec-layoutRole__contentBottom">
  116.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  117.         </div>
  118.     {% endif %}
  119.     {# Layout: CONTENTS_FOOTER #}
  120.     {% if Layout.Footer %}
  121.         <footer class="ec-layoutRole__footer">
  122.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  123.         </footer>
  124.     {% endif %}
  125. </div><!-- ec-layoutRole -->
  126. <div class="ec-overlayRole"></div>
  127. <div class="ec-drawerRoleClose"></div>
  128. <div class="ec-drawerRole">
  129.     {# Layout: DRAWER #}
  130.     {% if Layout.Drawer %}
  131.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  132.     {% endif %}
  133. </div>
  134. <div class="ec-blockTopBtn pagetop">
  135.     <!-- {{'ページトップへ'|trans}} -->
  136.     <img src="{{ asset('assets/img/common/PageTop.png') }}" alt="">
  137. </div>
  138. {% include('@common/lang.twig') %}
  139. <script src="{{ asset('assets/js/function.js') }}"></script>
  140. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  141. {% block javascript %}{% endblock %}
  142. {# Layout: CLOSE_BODY_BEFORE #}
  143. {% if Layout.CloseBodyBefore %}
  144.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  145. {% endif %}
  146. {# プラグイン用Snippet #}
  147. {% if plugin_snippets is defined %}
  148.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  149. {% endif %}
  150.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  151. </body>
  152. </html>