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.     <link rel="icon" href="/html/user_data/assets/img/common/favicon.ico">
  12.     <meta charset="utf-8">
  13.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  14.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  15.     <title>{% if subtitle is defined and subtitle is not empty %}{{ subtitle }}{% elseif title is defined and title is not empty %}{{ title }}{% endif %} | {{ BaseInfo.shop_name }}</title>
  16.     {% if Page.author is not empty %}
  17.         <meta name="author" content="{{ Page.author }}">
  18.     {% endif %}
  19.     <meta name="description" content="{% if seo_description is defined and seo_description is not empty %}{{ seo_description|striptags }}{% elseif Page.description is not empty %}{{ Page.description }}{% endif %}">
  20.     <meta name="keywords" content="{% if seo_keyword is defined and seo_keyword is not empty %}{{ seo_keyword }}{% elseif Page.keyword is not empty %}{{ Page.keyword }}{% endif %}">
  21.     <meta name="google-site-verification" content="miUA9lEp6WHV5Q6lL4kaGOf2Nfd4t0LnPKfjIv89Opg" />
  22.     {% if Page.meta_robots is not empty %}
  23.         <meta name="robots" content="{{ Page.meta_robots }}">
  24.     {% endif %}
  25.     {% if Page.meta_tags is not empty %}
  26.         {{ include(template_from_string(Page.meta_tags)) }}
  27.     {% endif %}
  28.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  29.     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  30.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  31.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  32.     <link rel="stylesheet" href="{{ asset('assets/css/default.css?202207') }}">
  33.     <link rel="stylesheet" href="{{ asset('assets/css/base.min.css') }}">
  34.     <link rel="stylesheet" href="{{ asset('assets/css/style.min.css?d=20220726a') }}">
  35.     <link rel="icon" href="/favicon.ico">
  36.     <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  37.     <link rel="icon" type="image/png" href="/favicon.ico">
  38.     {% block stylesheet %}{% endblock %}
  39.     <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  40.     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  41.     <script>
  42.         $(function() {
  43.             $.ajaxSetup({
  44.                 'headers': {
  45.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  46.                 }
  47.             });
  48.         });
  49.     </script>
  50.     {# Layout: HEAD #}
  51.     {% if Layout.Head %}
  52.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  53.     {% endif %}
  54.     {# プラグイン用styleseetやmetatagなど #}
  55.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  56.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  57.     <link rel="stylesheet" href="{{ asset('../../../yasashiishop/css/ys_theme.css') }}">
  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. <div class="ec-layoutRole">
  65.     {# Layout: HEADER #}
  66.     {% if Layout.Header %}
  67.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  68.     {% endif %}
  69.     {# Layout: CONTENTS_TOP #}
  70.     {% if Layout.ContentsTop %}
  71.         <div class="ec-layoutRole__contentTop">
  72.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  73.         </div>
  74.     {% endif %}
  75.     <div class="ec-layoutRole__contents">
  76.         {# Layout: SIDE_LEFT #}
  77.         {% if Layout.SideLeft %}
  78.             <div class="ec-layoutRole__left">
  79.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  80.             </div>
  81.         {% endif %}
  82.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  83.         {% if Layout.ColumnNum == 2 %}
  84.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  85.         {% elseif Layout.ColumnNum == 3 %}
  86.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  87.         {% endif %}
  88.         <div class="{{ layoutRoleMain }}">
  89.             {# Layout: MAIN_TOP #}
  90.             {% if Layout.MainTop %}
  91.                 <div class="ec-layoutRole__mainTop">
  92.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  93.                 </div>
  94.             {% endif %}
  95.             {# MAIN AREA #}
  96.             {% block main %}{% endblock %}
  97.             {# Layout: MAIN_Bottom #}
  98.             {% if Layout.MainBottom %}
  99.                 <div class="ec-layoutRole__mainBottom">
  100.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  101.                 </div>
  102.             {% endif %}
  103.         </div>
  104.         {# Layout: SIDE_RIGHT #}
  105.         {% if Layout.SideRight %}
  106.             <div class="ec-layoutRole__right">
  107.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  108.             </div>
  109.         {% endif %}
  110.     </div>
  111.     {# Layout: CONTENTS_BOTTOM #}
  112.     {% if Layout.ContentsBottom %}
  113.         <div class="ec-layoutRole__contentBottom">
  114.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  115.         </div>
  116.     {% endif %}
  117.     {# Layout: CONTENTS_FOOTER #}
  118.     {% if Layout.Footer %}
  119.         {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  120.     {% endif %}
  121. </div><!-- ec-layoutRole -->
  122. <div class="ec-overlayRole"></div>
  123. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  124. <div class="ec-drawerRole">
  125.     {# Layout: DRAWER #}
  126.     {% if Layout.Drawer %}
  127.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  128.     {% endif %}
  129. </div>
  130. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  131. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  132. {% include('@common/lang.twig') %}
  133. <script src="{{ asset('assets/js/function.js') }}"></script>
  134. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  135. {% block javascript %}{% endblock %}
  136. {# Layout: CLOSE_BODY_BEFORE #}
  137. {% if Layout.CloseBodyBefore %}
  138.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  139. {% endif %}
  140. {# プラグイン用Snippet #}
  141. {% if plugin_snippets is defined %}
  142.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  143. {% endif %}
  144.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  145.     <script src="{{ asset('assets/js/custom_animation.js?d=202206s') }}"></script>
  146.     <script src="https://cdn.jsdelivr.net/npm/lozad@1.14.0/dist/lozad.min.js"></script>
  147.     <script>
  148.         const observer = lozad('.lazy');
  149.         observer.observe();
  150.     </script>
  151.     <script src="{{ asset('assets/js/slick.min.js') }}"></script>
  152.     <script src="{{ asset('assets/js/common.js?d=20220722a') }}"></script>
  153.     <link rel="stylesheet" href="{{ asset('assets/css/slick-theme.css?2022') }}">
  154. </body>
  155. </html>