app/template/default/default_frame.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="ja">
  3. <head>
  4.     <!-- Google Tag Manager -->
  5.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  6.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  7.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  8.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  9.         })(window,document,'script','dataLayer','GTM-N4JTNHW');</script>
  10.     <!-- End Google Tag Manager -->
  11.     <meta charset="UTF-8">
  12.     <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>
  13.     {% if Page.author is not empty %}
  14.         <meta name="author" content="{{ Page.author }}">
  15.     {% endif %}
  16.     {% if Page.description is not empty %}
  17.         <meta name="description" content="{{ Page.description }}">
  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.     {% if Page.meta_tags is not empty %}
  26.         {{ include(template_from_string(Page.meta_tags)) }}
  27.     {% endif %}
  28.     <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0">
  29.     <meta
  30.     name="format-detection" content="telephone=no">
  31.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  32.     <!-- FAVICON -->
  33.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico') }}">
  34.     <link rel="shortcut icon" href="{{ asset('assets/img/common/favicon_180.png') }}">
  35.     <link rel="apple-touch-icon" href="{{ asset('assets/img/common/favicon_180.png') }}">
  36.     <!-- /FAVICON -->
  37.     <!-- CSS -->
  38.     <link rel="stylesheet" href="{{ asset('assets/css/eccube/style.css') }}">
  39.     <link rel="stylesheet" href="{{ asset('assets/css/common.css') }}">
  40.     <link rel="stylesheet" href="{{ asset('assets/css/import.css') }}">
  41.     <link rel="stylesheet" href="{{ asset('assets/js/lib/slick/slick.css') }}">
  42.     <link rel="stylesheet" href="{{ asset('assets/js/lib/slick/slick-theme.css') }}">
  43.     {% block stylesheet %}{% endblock %}
  44.     <!-- /CSS -->
  45.     <!-- FONT -->
  46.     <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  47.     <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&family=Zen+Old+Mincho:wght@500;700&display=swap" rel="stylesheet"><!-- /FONT -->
  48.     <!-- JS LIBRARY -->
  49.     <script src="{{ asset('assets/js/lib/jquery-3.6.0.min.js') }}"></script>
  50.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  51.     <script>
  52.         $(function() {
  53.             $.ajaxSetup({
  54.                 'headers': {
  55.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  56.                 }
  57.             });
  58.         });
  59.     </script>
  60.     <!-- /JS LIBRARY -->
  61.     <!-- SHARE -->
  62.     <meta name="twitter:card" content="summary">
  63.     <meta property="og:type" content="website">
  64.     <meta property="og:locale" content="ja_JP">
  65.     <meta property="og:image" content="{{ asset('assets/img/common/ogp_logo.png') }}">
  66.     <meta property="og:url" content="">
  67.     <meta property="og:title" content="{% if subtitle is defined and subtitle is not empty %}{{ subtitle }} | {% elseif title is defined and title is not empty %}{{ title }} | {% endif %}{{ BaseInfo.shop_name }}">
  68.     {% if Page.description is not empty %}
  69.         <meta property="og:description" content="{{ Page.description }}">    
  70.     {% endif %}    
  71.     <meta
  72.     property="og:site_name" content="永江印祥堂 公式ショップ">
  73.     <!-- /SHARE -->
  74.     {% if Layout.Head %}
  75.     {{ include('block.twig', {'Blocks': Layout.Head}) }}
  76.     {% endif %}
  77.     <link rel="canonical" href="{% if app.request.server.get('HTTPS') %}https{% else %}http{% endif %}://{{ app.request.server.get('SERVER_NAME') }}{{ app.request.server.get('REQUEST_URI') }}">
  78. </head>
  79. <body>
  80.     <!-- Google Tag Manager (noscript) -->
  81.     <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N4JTNHW"
  82.                       height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  83.     <!-- End Google Tag Manager (noscript) -->
  84.     <!-- HEADER -->
  85.     {% if Layout.Header %}
  86.         {{ include('block.twig', {'Blocks': Layout.Header}) }}
  87.     {% endif %}
  88.     <!-- /HEADER -->
  89.     <!-- MAIN -->
  90.     <main>
  91.         {% block main %}
  92.         
  93.         {% endblock %}
  94.         <!-- フッター上共通パーツ -->
  95.         {% if Layout.ContentsBottom %}
  96.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  97.         {% endif %}
  98.         <!-- /フッター上共通パーツ -->
  99.     </main>
  100.     <!-- /MAIN -->
  101.     <!-- FOOTER -->
  102.     {% if Layout.Footer %}
  103.     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  104.     {% endif %}
  105.     <!-- /FOOTER -->
  106.     <!-- PAGE TOP BTN -->
  107.     <div class="pageTop-box">
  108.         <div id="pageTop" class="pageTop">
  109.             <p class="hdnTxt">ページの先頭へ戻る</p>
  110.             <p class="pageTop-text">PAGE TOP</p>
  111.         </div>
  112.     </div>
  113.     <!-- /PAGE TOP BTN -->
  114.     
  115.   <style>
  116.     .floatBnr-box .floatBnr {
  117.       width: 190px;
  118.       height: 120px;
  119.     }
  120.     @media only screen and (max-width: 599px) {
  121.       .floatBnr-box .floatBnr {
  122.         max-width: 375px;
  123.         width: 100%;
  124.         height: unset;
  125.       }
  126.     }
  127.   </style>
  128.   <!-- フロートバナー -->
  129.   <div class="floatBnr-box">
  130.     <div class="floatBnr">
  131.       <a href="{{ url('product_list') }}?category_id=14">
  132.         <picture>
  133.           <source srcset="{{ asset('assets/img/campaign/floatBnr_sp.jpg') }}" media="(max-width:599px)" loading="lazy" width="375" hight="74">
  134.           <img src="{{ asset('assets/img/campaign/floatBnr.jpg') }}" alt="キャンペーンセール実施中!" class="imgFit" loading="lazy" width="240"
  135.             height="220">
  136.         </picture>
  137.       </a>
  138.     </div>
  139.   </div>
  140.   <!-- /フロートバナー -->
  141.     <!-- JS -->
  142.     <script src="{{ asset('assets/js/eccube/eccube.js') }}"></script>    
  143.     <script src="{{ asset('assets/js/eccube/function.js') }}"></script>
  144.     <script src="{{ asset('assets/js/animation.js') }}"></script>
  145.     <script src="{{ asset('assets/js/common_navigation.js') }}"></script>
  146.     <script src="{{ asset('assets/js/common.js') }}"></script>
  147.     <script src="{{ asset('assets/js/lib/slick/slick.min.js') }}"></script>
  148.     <!-- /JS -->
  149.     {% block javascript %}{% endblock %}
  150.     {# プラグイン用Snippet #}
  151.     {% if plugin_snippets is defined %}
  152.         {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  153.     {% endif %}    
  154. </body>
  155. </html>