<!doctype html>
{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<html lang="{{ eccube_config.locale }}">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#">
{% if app.request.get('_route') == 'product_list' %}
{% if app.request.query.get('category_id') is not empty %}
<link rel="canonical" href="{{ url('homepage') }}products/list?category_id={{ app.request.query.get('category_id') }}" />
{% else %}
<link rel="canonical" href="{{ url('homepage') }}products/list" />
{% endif %}
{% set pages = pagination.paginationData %}
{% if pages.pageCount > 1 %}
{% if pages.previous is defined %}
<link rel="prev" href="{{ app.request.schemeAndHttpHost() ~ path(app.request.attributes.get('_route'),app.request.query.all|merge({'pageno': pages.previous})) }}">
{% endif %}
{% if pages.next is defined %}
<link rel="next" href="{{ app.request.schemeAndHttpHost() ~ path(app.request.attributes.get('_route'),app.request.query.all|merge({'pageno': pages.next})) }}">
{% endif %}
{% endif %}
{% endif %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no,user-scalable=no">
<meta name="apple-itunes-app" content="app-id=com.digital-standard.shareslink, app-argument={{ app.request.uri }}">
<meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
{% if app.request.get('_route') == 'lp' %}{# ▼LP条件★if #}
{% if Lp.canonical is not empty %}
<link rel="canonical" href="{{ Lp.canonical }}" />
{% endif %}
<title>{{ Lp.title }}</title>
{% if Lp.author is not empty %}
<meta name="author" content="{{ Lp.author }}">
{% elseif Page.author is not empty %}
<meta name="author" content="{{ Page.author }}">
{% endif %}
{% if Lp.description is not empty %}
<meta name="description" content="{{ Lp.description }}">
{% elseif Page.description is not empty %}
<meta name="description" content="{{ Page.description }}">
{% endif %}
{% if Lp.keyword is not empty %}
<meta name="keywords" content="{{ Lp.keyword }}">
{% elseif Page.keyword is not empty %}
<meta name="keywords" content="{{ Page.keyword }}">
{% endif %}
{% if Lp.meta_robots is not empty %}
<meta name="robots" content="{{ Lp.meta_robots }}">
{% elseif Page.meta_robots is not empty %}
<meta name="robots" content="{{ Page.meta_robots }}">
{% endif %}
{% if Page.meta_tags is not empty %}
{{ include(template_from_string(Page.meta_tags)) }}
{% endif %}
{% if Lp.meta_tags is not empty %}
{{ include(template_from_string(Lp.meta_tags)) }}
{% endif %}
{% else %}{# ▼LP条件★else #}
{% if (app.request.get('_route') == 'product_detail' or app.request.get('_route') == 'product_detailintro') and Product.seo_title is not empty %}
<title>{{ Product.seo_title }}</title>
{% elseif app.request.get('_route') == 'product_list' and app.request.query.get('category_id') is empty %}
<title>全商品 / {{ BaseInfo.shop_name }}</title>
{% elseif app.request.get('_route') == 'product_list' and Category.seo_title is not empty %}
<title>{{ Category.seo_title }}</title>
{% else %}
<title>{% if app.request.get('_route') == 'product_detail' or app.request.get('_route') == 'product_detailintro' or app.request.get('_route') == 'product_list' %}{{ subtitle }} / {{ BaseInfo.shop_name }}{% else %}{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}{% endif %}</title>
{% endif %}
{% if (app.request.get('_route') == 'product_detail' or app.request.get('_route') == 'product_detailintro') and Product.seo_author is not empty %}
<meta name="author" content="{{ Product.seo_author }}">
{% elseif app.request.get('_route') == 'product_list' and app.request.query.get('category_id') is empty %}
{% if Page.author is not empty %}<meta name="author" content="{{ Page.author }}">{% endif %}
{% elseif app.request.get('_route') == 'product_list' and Category.seo_author is not empty %}
<meta name="author" content="{{ Category.seo_author }}">
{% elseif Page.author is not empty %}
<meta name="author" content="{{ Page.author }}">
{% endif %}
{% if (app.request.get('_route') == 'product_detail' or app.request.get('_route') == 'product_detailintro') and Product.seo_description is not empty %}
<meta name="description" content="{{ Product.seo_description }}">
{% elseif app.request.get('_route') == 'product_list' and app.request.query.get('category_id') is empty %}
{% if Page.description is not empty %}<meta name="description" content="{{ Page.description }}">{% endif %}
{% elseif app.request.get('_route') == 'product_list' and Category.seo_description is not empty %}
<meta name="description" content="{{ Category.seo_description }}">
{% elseif Page.description is not empty %}
<meta name="description" content="{{ Page.description }}">
{% endif %}
{% if (app.request.get('_route') == 'product_detail' or app.request.get('_route') == 'product_detailintro') and Product.seo_keyword is not empty %}
<meta name="keywords" content="{{ Product.seo_keyword }}">
{% elseif app.request.get('_route') == 'product_list' and app.request.query.get('category_id') is empty %}
{% if Page.keyword is not empty %}<meta name="keywords" content="{{ Page.keyword }}">{% endif %}
{% elseif app.request.get('_route') == 'product_list' and Category.seo_keyword is not empty %}
<meta name="keywords" content="{{ Category.seo_keyword }}">
{% elseif Page.keyword is not empty %}
<meta name="keywords" content="{{ Page.keyword }}">
{% endif %}
{% if (app.request.get('_route') == 'product_detail' or app.request.get('_route') == 'product_detailintro') and Product.seo_meta_robots is not empty %}
<meta name="robots" content="{{ Product.seo_meta_robots }}">
{% elseif app.request.get('_route') == 'product_list' and app.request.query.get('category_id') is empty %}
{% if Page.meta_robots is not empty %}<meta name="robots" content="{{ Page.meta_robots }}">{% endif %}
{% elseif app.request.get('_route') == 'product_list' and Category.seo_meta_robots is not empty %}
<meta name="robots" content="{{ Category.seo_meta_robots }}">
{% elseif Page.meta_robots is not empty %}
<meta name="robots" content="{{ Page.meta_robots }}">
{% endif %}
{% if Page.meta_tags is not empty %}
{{ include(template_from_string(Page.meta_tags)) }}
{% endif %}
{% if (app.request.get('_route') == 'product_detail' or app.request.get('_route') == 'product_detailintro') and Product.seo_meta_tags is not empty %}
{{ include(template_from_string(Product.seo_meta_tags)) }}
{% endif %}
{% if app.request.get('_route') == 'product_list' and app.request.query.get('category_id') is empty %}
{% elseif app.request.get('_route') == 'product_list' and Category.seo_meta_tags is not empty %}
{{ include(template_from_string(Category.seo_meta_tags)) }}
{% endif %}
{% endif %}{# ▲LP条件★endif #}
<link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
<link rel="stylesheet" href="{{ asset('assets/css/style.css') }}?{{ 'now'|date('His') }}">
{# ▼ヘッダー・Bodyの背景 コメントアウトを解除し数値を変更→001~050 #}
{# <link rel="stylesheet" href="{{ asset('assets/css/design/001/style.css') }}"> #}
{% block stylesheet %}{% endblock %}
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script>
$(function() {
$.ajaxSetup({
'headers': {
'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
}
});
});
</script>
{# Layout: HEAD #}
{% if Layout.Head %}
{{ include('block.twig', {'Blocks': Layout.Head}) }}
{% endif %}
{# プラグイン用styleseetやmetatagなど #}
{% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
<link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
</head>
<body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
{# Layout: BODY_AFTER #}
{% if Layout.BodyAfter %}
{{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
{% endif %}
<div class="ec-layoutRole">
{# Layout: HEADER #}
{% if Layout.Header %}
<div class="ec-layoutRole__header">
{{ include('block.twig', {'Blocks': Layout.Header}) }}
</div>
{% endif %}
{# Layout: CONTENTS_TOP #}
{% if Layout.ContentsTop %}
<div class="ec-layoutRole__contentTop">
{{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
</div>
{% endif %}
<div class="ec-layoutRole__contents">
{# Layout: SIDE_LEFT #}
{% if Layout.SideLeft %}
<div class="ec-layoutRole__left">
{{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
</div>
{% endif %}
{% set layoutRoleMain = 'ec-layoutRole__main' %}
{% if Layout.ColumnNum == 2 %}
{% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
{% elseif Layout.ColumnNum == 3 %}
{% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
{% endif %}
<div class="{{ layoutRoleMain }}">
{# Layout: MAIN_TOP #}
{% if Layout.MainTop %}
<div class="ec-layoutRole__mainTop">
{{ include('block.twig', {'Blocks': Layout.MainTop}) }}
</div>
{% endif %}
{# MAIN AREA #}
{% block main %}{% endblock %}
{# Layout: MAIN_Bottom #}
{% if Layout.MainBottom %}
<div class="ec-layoutRole__mainBottom">
{{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
</div>
{% endif %}
</div>
{# Layout: SIDE_RIGHT #}
{% if Layout.SideRight %}
<div class="ec-layoutRole__right">
{{ include('block.twig', {'Blocks': Layout.SideRight}) }}
</div>
{% endif %}
</div>
{# Layout: CONTENTS_BOTTOM #}
{% if Layout.ContentsBottom %}
<div class="ec-layoutRole__contentBottom">
{{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
</div>
{% endif %}
{# Layout: CONTENTS_FOOTER #}
{% if Layout.Footer %}
<div class="ec-layoutRole__footer">
{{ include('block.twig', {'Blocks': Layout.Footer}) }}
</div>
{% endif %}
</div><!-- ec-layoutRole -->
<div class="ec-overlayRole"></div>
<div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
<div class="ec-drawerRole">
{# Layout: DRAWER #}
{% if Layout.Drawer %}
{{ include('block.twig', {'Blocks': Layout.Drawer}) }}
{% endif %}
</div>
<div class="dzx-fixed-menu">
<a href="{{ url('homepage') }}"><i class="fas fa-home fa-fw"></i><span>ホーム</span></a>
{% if is_granted('ROLE_USER') %}
<a href="{{ url('mypage') }}"><i class="fas fa-user fa-fw"></i><span>マイページ</span></a>
{% if BaseInfo.option_favorite_product %}
<a href="{{ url('mypage_favorite') }}"><i class="fas fa-heart fa-fw"></i><span>お気に入り</span></a>
{% endif %}
{% else %}
<a href="{{ url('mypage_login') }}"><i class="fas fa-user fa-fw"></i><span>マイページ</span></a>
{% if BaseInfo.option_favorite_product %}
<a href="{{ url('mypage_favorite') }}"><i class="fas fa-heart fa-fw"></i><span>お気に入り</span></a>
{% endif %}
{% endif %}
<a href="{{ url('cart') }}"><i class="fas fa-shopping-cart fa-fw"><span class="ec-cartNavi__badge_menu">0</span></i><span>カート</span></a>
</div>
<script>
$(function() {
$(".ec-cartNavi__badge_menu").html( $('.ec-headerNaviRole .ec-cartNavi__badge').text() );
});
</script>
<div class="ec-blockTopBtn pagetop"><i class="ec-headerNav__itemIcon fas fa-chevron-up fa-fw"></i></div>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
{% include('@common/lang.twig') %}
<script src="{{ asset('assets/js/function.js') }}"></script>
<script src="{{ asset('assets/js/eccube.js') }}"></script>
{% block javascript %}{% endblock %}
{# Layout: CLOSE_BODY_BEFORE #}
{% if Layout.CloseBodyBefore %}
{{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
{% endif %}
{# プラグイン用Snippet #}
{% if plugin_snippets is defined %}
{{ include('snippet.twig', { snippets: plugin_snippets }) }}
{% endif %}
<script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
</body>
</html>