app/template/default/guest_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.     <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/art-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/style.css') }}">
  35.     <link rel="preconnect" href="https://fonts.googleapis.com">
  36.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  37.     <link href="https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap" rel="stylesheet">
  38.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  39.     {% block stylesheet %}{% endblock %}
  40.     <script>
  41.         $(function() {
  42.             $.ajaxSetup({
  43.                 'headers': {
  44.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  45.                 }
  46.             });
  47.         });
  48.     </script>
  49.     {# Layout: HEAD #}
  50.     {% if Layout.Head %}
  51.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  52.     {% endif %}
  53.     {# プラグイン用styleseetやmetatagなど #}
  54.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  55.     <link rel="stylesheet" href="{{ asset('assets/css/util.css', 'user_data') }}">
  56.     <link rel="stylesheet" href="{{ asset('assets/css/style_add.css', 'user_data') }}">
  57.     <link href="https://use.fontawesome.com/releases/v6.5.2/css/all.css" rel="stylesheet">
  58. </head>
  59. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  60. {# Layout: BODY_AFTER #}
  61. {% if Layout.BodyAfter %}
  62.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  63. {% endif %}
  64. {% if isMaintenance %}
  65.     <div class="ec-maintenanceAlert">
  66.         <div>
  67.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  68.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  69.         </div>
  70.     </div>
  71. {% endif %}
  72. <div class="ec-layoutRole main-color-bg">
  73.     <header class="product_detail_header">
  74.         {{ include('Block/login_header.twig') }}
  75.     </header>
  76.     {# Layout: CONTENTS_TOP #}
  77.     {% if Layout.ContentsTop %}
  78.         <div class="ec-layoutRole__contentTop">
  79.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  80.         </div>
  81.     {% endif %}
  82.     <div class="ec-layoutRole__contents">
  83.         {# Layout: SIDE_LEFT #}
  84.         {% if Layout.SideLeft %}
  85.             <aside class="ec-layoutRole__left">
  86.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  87.             </aside>
  88.         {% endif %}
  89.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  90.         {% if Layout.ColumnNum == 2 %}
  91.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  92.         {% elseif Layout.ColumnNum == 3 %}
  93.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  94.         {% endif %}
  95.         <main class="{{ layoutRoleMain }}">
  96.             {# Layout: MAIN_TOP #}
  97.             {% if Layout.MainTop %}
  98.                 <div class="ec-layoutRole__mainTop">
  99.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  100.                 </div>
  101.             {% endif %}
  102.             {# MAIN AREA #}
  103.             {% block main %}{% endblock %}
  104.             {# Layout: MAIN_Bottom #}
  105.             {% if Layout.MainBottom %}
  106.                 <div class="ec-layoutRole__mainBottom">
  107.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  108.                 </div>
  109.             {% endif %}
  110.         </main>
  111.         {# Layout: SIDE_RIGHT #}
  112.         {% if Layout.SideRight %}
  113.             <aside class="ec-layoutRole__right">
  114.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  115.             </aside>
  116.         {% endif %}
  117.     </div>
  118.     
  119.     {# Layout: CONTENTS_BOTTOM #}
  120.     {% if Layout.ContentsBottom %}
  121.         <div class="ec-layoutRole__contentBottom">
  122.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  123.         </div>
  124.     {% endif %}
  125.     {# Layout: CONTENTS_FOOTER #}
  126.     {% if Layout.Footer %}
  127.         <footer class="ec-layoutRole__footer">
  128.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  129.         </footer>
  130.     {% endif %}
  131. </div><!-- ec-layoutRole -->
  132. <!-- <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div> -->
  133. {% include('@common/lang.twig') %}
  134. <script src="{{ asset('assets/js/function.js') }}"></script>
  135. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  136. {% block javascript %}{% endblock %}
  137. {# Layout: CLOSE_BODY_BEFORE #}
  138. {% if Layout.CloseBodyBefore %}
  139.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  140. {% endif %}
  141. {# プラグイン用Snippet #}
  142. {% if plugin_snippets is defined %}
  143.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  144. {% endif %}
  145.     {# <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script> #}
  146. </body>
  147. </html>