app/template/daido/default_frame.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="{{ eccube_config.locale }}">
  3. <head prefix="og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#">
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  7.     <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>
  8.     {% if Page.meta_tags is not empty %}
  9.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  10.         {% if Page.description is not empty %}
  11.             <meta name="description" content="{{ Page.description }}">
  12.         {% endif %}
  13.     {% else %}
  14.         {{ include('meta.twig') }}
  15.     {% endif %}
  16.     {% if Page.author is not empty %}
  17.         <meta name="author" content="{{ Page.author }}">
  18.     {% endif %}
  19.     {% if Page.keyword is not empty %}
  20.         <meta name="keywords" content="{{ Page.keyword }}">
  21.     {% endif %}
  22.     {% if Page.meta_robots is not empty %}
  23.         <meta name="robots" content="{{ Page.meta_robots }}">
  24.     {% endif %}
  25.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  26.     <!--<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">-->
  27.     <link rel="stylesheet" href="/html/template/daido/assets/css/slick.css">
  28.     <link rel="stylesheet" href="/html/template/daido/assets/css/slick-theme.css">
  29.     <link rel="stylesheet" href="https://unpkg.com/ress/dist/ress.min.css">
  30.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  31.     {% set path = app.request.attributes.get('route') %}
  32.     {% set path2 = app.request.attributes.get('_route') %}
  33.     {%if ( path matches '{^help_faq}' ) or ( path2 matches '{^help_faq}' ) %}
  34.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
  35.         <script src="/html/template/daido/assets/js/script.js"></script>
  36.     {% endif %}
  37.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  38.     {% block stylesheet %}{% endblock %}
  39.     <script>
  40.         $(function() {
  41.             $.ajaxSetup({
  42.                 'headers': {
  43.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  44.                 }
  45.             });
  46.         });
  47.     </script>
  48.     {# Layout: HEAD #}
  49.     {% if Layout.Head %}
  50.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  51.     {% endif %}
  52.     {# プラグイン用styleseetやmetatagなど #}
  53.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  54.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  55. </head>
  56. {#    <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">    #}
  57. <body>
  58.     {# Layout: BODY_AFTER #}
  59. {#    {% if Layout.BodyAfter %}
  60. {#        {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  61. {#    {% endif %}    #}
  62.     {% if isMaintenance %}
  63.         <div class="ec-maintenanceAlert">
  64.             <div>
  65.                 <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  66.                 {{ 'メンテナンスモードが有効になっています。'|trans }}
  67.             </div>
  68.         </div>
  69.     {% endif %}
  70. {#    <div class="ec-layoutRole">
  71.         {# Layout: HEADER #}
  72.         {% if Layout.Header %}
  73. {#            <header class="ec-layoutRole__header">    #}
  74.                 {{ include('block.twig', {'Blocks': Layout.Header}) }}
  75. {#            </header>    #}
  76.         {% endif %}
  77.         {# Layout: CONTENTS_TOP #}
  78. {#        {% if Layout.ContentsTop %}
  79. {#            <div class="ec-layoutRole__contentTop">
  80.                 {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  81. {#            </div>
  82. {#        {% endif %}
  83. {#        <div class="ec-layoutRole__contents">
  84. {#            {# Layout: SIDE_LEFT #}
  85. {#            {% if Layout.SideLeft %}
  86. {#                <aside class="ec-layoutRole__left">
  87. {#                    {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  88. {#                </aside>
  89. {#            {% endif %}
  90. {#            {% set layoutRoleMain = 'ec-layoutRole__main' %}
  91. {#            {% if Layout.ColumnNum == 2 %}
  92. {#                {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  93. {#            {% elseif Layout.ColumnNum == 3 %}
  94. {#                {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  95. {#            {% endif %}
  96. {#
  97. {#            <main class="{{ layoutRoleMain }}">
  98. {#                {# Layout: MAIN_TOP #}
  99. {#                {% if Layout.MainTop %}
  100. {#                    <div class="ec-layoutRole__mainTop">
  101. {#                        {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  102. {#                    </div>
  103. {#                {% endif %}
  104. {#
  105.                 {# MAIN AREA #}
  106.                 {% block main %}{% endblock %}
  107.                 {# Layout: MAIN_Bottom #}
  108. {#                {% if Layout.MainBottom %}
  109. {#                    <div class="ec-layoutRole__mainBottom">
  110. {#                        {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  111. {#                    </div>
  112. {#                {% endif %}
  113. {#            </main>
  114. {#
  115. {#            {# Layout: SIDE_RIGHT #}
  116. {#            {% if Layout.SideRight %}
  117. {#                <aside class="ec-layoutRole__right">
  118. {#                    {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  119. {#                </aside>
  120. {#            {% endif %}
  121. {#        </div>
  122. {#        {# Layout: CONTENTS_BOTTOM #}
  123. {#        {% if Layout.ContentsBottom %}
  124. {#            <div class="ec-layoutRole__contentBottom">
  125. {#                {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  126. {#            </div>
  127. {#        {% endif %}
  128.         {# Layout: CONTENTS_FOOTER #}
  129. {#        {% if Layout.Footer %}
  130. {#            <footer class="ec-layoutRole__footer">    #}
  131.                 {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  132. {#            </footer>    #}
  133. {#        {% endif %}
  134. {#    </div><!-- ec-layoutRole -->
  135.     </main>    {# 追記 #}
  136. {#    <div class="ec-overlayRole"></div>
  137. {#    <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  138. {#    <div class="ec-drawerRole">
  139.         {# Layout: DRAWER #}
  140.         {% if Layout.Drawer %}
  141.             {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  142.         {% endif %}
  143. {#    </div>
  144. {#    <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  145. {#    {% include('@common/lang.twig') %}
  146.     <script src="{{ asset('assets/js/function.js') }}"></script>
  147.     <script src="{{ asset('assets/js/eccube.js') }}"></script>
  148.     {% block javascript %}{% endblock %}
  149. {#    {# Layout: CLOSE_BODY_BEFORE #}
  150. {#    {% if Layout.CloseBodyBefore %}
  151. {#        {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  152. {#    {% endif %}
  153. {#    {# プラグイン用Snippet #}
  154. {#    {% if plugin_snippets is defined %}
  155. {#        {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  156. {#    {% endif %}
  157. {#    <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>    #}
  158. </body>
  159. </html>