app/template/default/default_frame.twig line 140

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"
  13.       content="width=device-width, initial-scale=1, shrink-to-fit=no" />
  14.     <meta name="eccube-csrf-token"
  15.       content="{{
  16.       csrf_token(
  17.         constant('Eccube\\Common\\Constant::TOKEN_NAME')
  18.       )
  19.       }}" />
  20.     <title>
  21.       {{ BaseInfo.shop_name }}{% if
  22.         subtitle is defined and subtitle is not empty %}
  23.         / {{ subtitle }}
  24.       {% elseif title is defined and title is not empty %}
  25.         / {{ title }}
  26.       {% endif %}
  27.     </title>
  28.     {% if Page.meta_tags is not empty %}
  29.       {{ include(template_from_string(Page.meta_tags)) }}
  30.       {% if Page.description is not empty %}
  31.         <meta name="description" content="{{ Page.description }}" />
  32.       {% endif %}
  33.     {% else %}
  34.       {{ include('meta.twig') }}
  35.     {% endif %}
  36.     {% if Page.author is not empty %}
  37.       <meta name="author" content="{{ Page.author }}" />
  38.     {% endif %}
  39.     {% if Page.keyword is not empty %}
  40.       <meta name="keywords" content="{{ Page.keyword }}" />
  41.     {% endif %}
  42.     {% if Page.meta_robots is not empty %}
  43.       <meta name="robots" content="{{ Page.meta_robots }}" />
  44.     {% endif %}
  45.     {% if Page.meta_tags is not empty %}
  46.       {{ include(template_from_string(Page.meta_tags)) }}
  47.     {% endif %}
  48.     <link rel="icon"
  49.       href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}" />
  50.     <link rel="stylesheet"
  51.       href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
  52.       integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu"
  53.       crossorigin="anonymous" />
  54.     <link rel="stylesheet"
  55.       href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
  56.       integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
  57.       crossorigin="anonymous" />
  58.     {# <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css"> #}
  59.     <link rel="stylesheet"
  60.       type="text/css"
  61.       href="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css" />
  62.     <link rel="stylesheet"
  63.       type="text/css"
  64.       href="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css" />
  65.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}" />
  66.     {% block stylesheet %}
  67.     {% endblock %}
  68.     <script src="https://code.jquery.com/jquery-3.6.0.min.js"
  69.       integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
  70.       crossorigin="anonymous"></script>
  71.     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js"></script>
  72.     <script>
  73.       $(function() { $.ajaxSetup({ 'headers': { 'ECCUBE-CSRF-TOKEN':
  74.       $('meta[name="eccube-csrf-token"]').attr('content') } }); });
  75.     </script>
  76.     {# Layout: HEAD #}
  77.     {% if Layout.Head %}
  78.       {{
  79.         include(
  80.           'block.twig',
  81.           {
  82.             Blocks: Layout.Head
  83.           }
  84.         )
  85.       }}
  86.     {% endif %}
  87.     {# プラグイン用styleseetやmetatagなど #}
  88.     {# google fonts #}
  89.     <link rel="preconnect" href="https://fonts.googleapis.com">
  90.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  91.     <link href="https://fonts.googleapis.com/css2?family=Lato:wght@700;900&family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@500&display=swap" rel="stylesheet">
  92.     {% if plugin_assets is defined %}{{
  93.       include(
  94.         '@admin/snippet.twig',
  95.         {
  96.           snippets: plugin_assets
  97.         }
  98.       )
  99.     }}{% endif %}
  100.     <link rel="stylesheet"
  101.       href="{{ asset('assets/css/customize.css', 'user_data') }}" />
  102.   </head>
  103.   <body id="page_{{ app.request.get('_route') }}"
  104.     class="{{ body_class|default('other_page') }}">
  105.     {# Layout: BODY_AFTER #}
  106.     {% if Layout.BodyAfter %}
  107.       {{
  108.         include(
  109.           'block.twig',
  110.           {
  111.             Blocks: Layout.BodyAfter
  112.           }
  113.         )
  114.       }}
  115.     {% endif %}
  116.     {% if isMaintenance %}
  117.       <div class="ec-maintenanceAlert">
  118.         <div>
  119.           <div class="ec-maintenanceAlert__icon">
  120.             <img src="{{ asset('assets/icon/exclamation-white.svg') }}" />
  121.           </div>
  122.           {{ 'メンテナンスモードが有効になっています。'|trans }}
  123.         </div>
  124.       </div>
  125.     {% endif %}
  126.     <div class="ec-layoutRole">
  127.       {# Layout: HEADER #}
  128.       {% if Layout.Header %}
  129.         <div class="ec-layoutRole__header">
  130.           {{
  131.             include(
  132.               'block.twig',
  133.               {
  134.                 Blocks: Layout.Header
  135.               }
  136.             )
  137.           }}
  138.         </div>
  139.       {% endif %}
  140.       {# Layout: CONTENTS_TOP #}
  141.       {% if Layout.ContentsTop %}
  142.         <div class="ec-layoutRole__contentTop">
  143.           {{
  144.             include(
  145.               'block.twig',
  146.               {
  147.                 Blocks: Layout.ContentsTop
  148.               }
  149.             )
  150.           }}
  151.         </div>
  152.       {% endif %}
  153.       <div class="ec-layoutRole__contents">
  154.         {# Layout: SIDE_LEFT #}
  155.         {% if Layout.SideLeft %}
  156.           <div class="ec-layoutRole__left">
  157.             {{
  158.               include(
  159.                 'block.twig',
  160.                 {
  161.                   Blocks: Layout.SideLeft
  162.                 }
  163.               )
  164.             }}
  165.           </div>
  166.         {% endif %}
  167.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  168.         {% if Layout.ColumnNum == 2 %}
  169.           {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  170.         {% elseif Layout.ColumnNum == 3 %}
  171.           {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  172.         {% endif %}
  173.         <div class="{{ layoutRoleMain }}">
  174.           {# Layout: MAIN_TOP #}
  175.           {% if Layout.MainTop %}
  176.             <div class="ec-layoutRole__mainTop">
  177.               {{
  178.                 include(
  179.                   'block.twig',
  180.                   {
  181.                     Blocks: Layout.MainTop
  182.                   }
  183.                 )
  184.               }}
  185.             </div>
  186.           {% endif %}
  187.           {# MAIN AREA #}
  188.           {% block main %}
  189.           {% endblock %}
  190.           {# Layout: MAIN_Bottom #}
  191.           {% if Layout.MainBottom %}
  192.             <div class="ec-layoutRole__mainBottom">
  193.               {{
  194.                 include(
  195.                   'block.twig',
  196.                   {
  197.                     Blocks: Layout.MainBottom
  198.                   }
  199.                 )
  200.               }}
  201.             </div>
  202.           {% endif %}
  203.         </div>
  204.         {# Layout: SIDE_RIGHT #}
  205.         {% if Layout.SideRight %}
  206.           <div class="ec-layoutRole__right">
  207.             {{
  208.               include(
  209.                 'block.twig',
  210.                 {
  211.                   Blocks: Layout.SideRight
  212.                 }
  213.               )
  214.             }}
  215.           </div>
  216.         {% endif %}
  217.       </div>
  218.       {# Layout: CONTENTS_BOTTOM #}
  219.       {% if Layout.ContentsBottom %}
  220.         <div class="ec-layoutRole__contentBottom">
  221.           {{
  222.             include(
  223.               'block.twig',
  224.               {
  225.                 Blocks: Layout.ContentsBottom
  226.               }
  227.             )
  228.           }}
  229.         </div>
  230.       {% endif %}
  231.       {# Layout: CONTENTS_FOOTER #}
  232.       {% if Layout.Footer %}
  233.         <div class="ec-layoutRole__footer">
  234.           {{
  235.             include(
  236.               'block.twig',
  237.               {
  238.                 Blocks: Layout.Footer
  239.               }
  240.             )
  241.           }}
  242.         </div>
  243.       {% endif %}
  244.     </div>
  245.     <!-- ec-layoutRole -->
  246.     <div class="ec-overlayRole"></div>
  247.     <div class="ec-drawerRoleClose">
  248.       <i class="fas fa-times"></i>
  249.     </div>
  250.     <div class="ec-drawerRole">
  251.       {# Layout: DRAWER #}
  252.       {% if Layout.Drawer %}
  253.         {{
  254.           include(
  255.             'block.twig',
  256.             {
  257.               Blocks: Layout.Drawer
  258.             }
  259.           )
  260.         }}
  261.       {% endif %}
  262.     </div>
  263.     <div class="ec-blockTopBtn pagetop">
  264.       {{ 'ページトップへ'|trans }}
  265.     </div>
  266.     <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
  267.       integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
  268.       crossorigin="anonymous"></script>
  269.     {# <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script> #}
  270.     <script type="text/javascript"
  271.       src="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
  272.     {% include '@common/lang.twig' %}
  273.     <script src="{{ asset('assets/js/function.js') }}"></script>
  274.     <script src="{{ asset('assets/js/eccube.js') }}"></script>
  275.     {% block javascript %}
  276.     {% endblock %}
  277.     {# Layout: CLOSE_BODY_BEFORE #}
  278.     {% if Layout.CloseBodyBefore %}
  279.       {{
  280.         include(
  281.           'block.twig',
  282.           {
  283.             Blocks: Layout.CloseBodyBefore
  284.           }
  285.         )
  286.       }}
  287.     {% endif %}
  288.     {# プラグイン用Snippet #}
  289.     {% if plugin_snippets is defined %}
  290.       {{
  291.         include(
  292.           'snippet.twig',
  293.           {
  294.             snippets: plugin_snippets
  295.           }
  296.         )
  297.       }}
  298.     {% endif %}
  299.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  300.   </body>
  301. </html>