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: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://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://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  34.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  35.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  36.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  37. <!-- フォント:Noto Sans Japanese -->
  38. <link rel="preconnect" href="https://fonts.googleapis.com">
  39. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  40. <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
  41. <!-- フォント: RocknRoll One -->
  42. <link href="https://fonts.googleapis.com/css2?family=RocknRoll+One&display=swap" rel="stylesheet">
  43. <!-- フォント: Poppins -->
  44. <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
  45. <!-- フォント:Kiwi Maru -->
  46. <link href="https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap" rel="stylesheet">
  47. <!-- フォント:Shippori Mincho -->
  48. <link href="https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap" rel="stylesheet">
  49. <!-- フォント:Raleway -->
  50. <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"> 
  51.     {% block stylesheet %}{% endblock %}
  52.     <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
  53.     <script>
  54.         $(function() {
  55.             $.ajaxSetup({
  56.                 'headers': {
  57.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  58.                 }
  59.             });
  60.         });
  61.     </script>
  62.     {# Layout: HEAD #}
  63.     {% if Layout.Head %}
  64.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  65.     {% endif %}
  66.     {# プラグイン用styleseetやmetatagなど #}
  67.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  68.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  69. </head>
  70. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  71. {# Layout: BODY_AFTER #}
  72. {% if Layout.BodyAfter %}
  73.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  74. {% endif %}
  75. <div class="ec-layoutRole">
  76.     {# Layout: HEADER #}
  77.     {% if Layout.Header %}
  78.         <div class="ec-layoutRole__header">
  79.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  80.         </div>
  81.     {% endif %}
  82.     {# Layout: CONTENTS_TOP #}
  83.     {% if Layout.ContentsTop %}
  84.         <div class="ec-layoutRole__contentTop">
  85.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  86.         </div>
  87.     {% endif %}
  88.     <div class="ec-layoutRole__contents">
  89.         {# Layout: SIDE_LEFT #}
  90.         {% if Layout.SideLeft %}
  91.             <div class="ec-layoutRole__left">
  92.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  93.             </div>
  94.         {% endif %}
  95.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  96.         {% if Layout.ColumnNum == 2 %}
  97.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  98.         {% elseif Layout.ColumnNum == 3 %}
  99.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  100.         {% endif %}
  101.         <div class="{{ layoutRoleMain }}">
  102.             {# Layout: MAIN_TOP #}
  103.             {% if Layout.MainTop %}
  104.                 <div class="ec-layoutRole__mainTop">
  105.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  106.                 </div>
  107.             {% endif %}
  108.             {# MAIN AREA #}
  109.             {% block main %}{% endblock %}
  110.             {# Layout: MAIN_Bottom #}
  111.             {% if Layout.MainBottom %}
  112.                 <div class="ec-layoutRole__mainBottom">
  113.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  114.                 </div>
  115.             {% endif %}
  116.         </div>
  117.         {# Layout: SIDE_RIGHT #}
  118.         {% if Layout.SideRight %}
  119.             <div class="ec-layoutRole__right">
  120.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  121.             </div>
  122.         {% endif %}
  123.     </div>
  124.     {# Layout: CONTENTS_BOTTOM #}
  125.     {% if Layout.ContentsBottom %}
  126.         <div class="ec-layoutRole__contentBottom">
  127.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  128.         </div>
  129.     {% endif %}
  130.     {# Layout: CONTENTS_FOOTER #}
  131.     {% if Layout.Footer %}
  132.         <div class="ec-layoutRole__footer">
  133.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  134.         </div>
  135.     {% endif %}
  136. </div><!-- ec-layoutRole -->
  137. <div class="ec-overlayRole"></div>
  138. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  139. <div class="ec-drawerRole">
  140.     {# Layout: DRAWER #}
  141.     {% if Layout.Drawer %}
  142.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  143.     {% endif %}
  144. </div>
  145. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  146. <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
  147. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  148. {% include('@common/lang.twig') %}
  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>