app/template/default/default_frame.twig line 85

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)) }}
  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', 'user_data') }}">
  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/reset.css') }}">
  35.     <link rel="stylesheet" href="{{ asset('assets/css/aos.css') }}">
  36.     {% if cart_css is defined %}
  37.         <link rel="stylesheet" href="{{ asset('assets/css/cart.css') }}">
  38.     {% endif %}
  39.     {% if mypage_css is defined %}
  40.         <link rel="stylesheet" href="{{ asset('assets/css/mypage.css') }}">
  41.     {% endif %}
  42.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  43.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  44.     {% block stylesheet %}{% endblock %}
  45.     <script>
  46.         $(function() {
  47.             $.ajaxSetup({
  48.                 'headers': {
  49.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  50.                 }
  51.             });
  52.         });
  53.     </script>
  54.     {# Layout: HEAD #}
  55.     {% if Layout.Head %}
  56.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  57.     {% endif %}
  58.     {# プラグイン用styleseetやmetatagなど #}
  59.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  60.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  61. </head>
  62. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  63. {# Layout: BODY_AFTER #}
  64. {% if Layout.BodyAfter %}
  65.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  66. {% endif %}
  67. {% if isMaintenance %}
  68.     <div class="ec-maintenanceAlert">
  69.         <div>
  70.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  71.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  72.         </div>
  73.     </div>
  74. {% endif %}
  75. <div class="ec-layoutRole">
  76.     {# Layout: HEADER #}
  77.     {% if Layout.Header %}
  78.         <header class="ec-layoutRole__header">
  79.             <div class="ec-layoutRole__header-inner standard-inner1">
  80.                 {{ include('block.twig', {'Blocks': Layout.Header}) }}
  81.             </div>
  82.         </header>
  83.         <div class="header__dummy"></div>
  84.     {% endif %}
  85.     {# Layout: CONTENTS_TOP #}
  86.     {% if Layout.ContentsTop %}
  87.         <div class="ec-layoutRole__contentTop">
  88.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  89.         </div>
  90.     {% endif %}
  91.     <div class="ec-layoutRole__contents">
  92.         {# Layout: SIDE_LEFT #}
  93.         {% if Layout.SideLeft %}
  94.             <aside class="ec-layoutRole__left">
  95.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  96.             </aside>
  97.         {% endif %}
  98.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  99.         {% if Layout.ColumnNum == 2 %}
  100.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  101.         {% elseif Layout.ColumnNum == 3 %}
  102.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  103.         {% endif %}
  104.         <main class="{{ layoutRoleMain }}">
  105.             {# Layout: MAIN_TOP #}
  106.             {% if Layout.MainTop %}
  107.                 <div class="ec-layoutRole__mainTop">
  108.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  109.                 </div>
  110.             {% endif %}
  111.             {# MAIN AREA #}
  112.             {% block main %}{% endblock %}
  113.             {# Layout: MAIN_Bottom #}
  114.             {% if Layout.MainBottom %}
  115.                 <div class="ec-layoutRole__mainBottom">
  116.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  117.                 </div>
  118.             {% endif %}
  119.         </main>
  120.         {# Layout: SIDE_RIGHT #}
  121.         {% if Layout.SideRight %}
  122.             <aside class="ec-layoutRole__right">
  123.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  124.             </aside>
  125.         {% endif %}
  126.     </div>
  127.     {# Layout: CONTENTS_BOTTOM #}
  128.     {% if Layout.ContentsBottom %}
  129.         <div class="ec-layoutRole__contentBottom">
  130.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  131.         </div>
  132.     {% endif %}
  133.     {# Layout: CONTENTS_FOOTER #}
  134.     {% if Layout.Footer %}
  135.         <footer class="ec-layoutRole__footer">
  136.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  137.         </footer>
  138.     {% endif %}
  139. </div><!-- ec-layoutRole -->
  140. <div class="ec-overlayRole"></div>
  141. <div class="ec-drawerRole">
  142.     {# Layout: DRAWER #}
  143.     {% if Layout.Drawer %}
  144.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  145.     {% endif %}
  146. </div>
  147. {% include('@common/lang.twig') %}
  148. <script src="{{ asset('assets/js/aos.js') }}"></script>
  149. <script src="{{ asset('assets/js/function.js') }}"></script>
  150. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  151. {% block javascript %}{% endblock %}
  152. {# Layout: CLOSE_BODY_BEFORE #}
  153. {% if Layout.CloseBodyBefore %}
  154.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  155. {% endif %}
  156. {# プラグイン用Snippet #}
  157. {% if plugin_snippets is defined %}
  158.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  159. {% endif %}
  160.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  161. </body>
  162. </html>