<!DOCTYPE html>
{#
This file is part of EC-CUBE, Overwrite by INSPIRATION
#}
<html lang="{{ eccube_config.locale }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
{% if app.request.attributes.get('_route') == 'homepage' %}
<title>{{ BaseInfo.shop_name }}</title>
{% else %}
<title>{% if subtitle is defined and subtitle is not empty %}{{ subtitle }} | {% elseif title is defined and title is not empty %}{{ title }} | {% endif %}ゴルフプリント</title>
{% endif %}
{% if Page.meta_tags is not empty %}
{{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
{% if Page.description is not empty %}
<meta name="description" content="{{ Page.description }}">
{% endif %}
{% else %}
{{ include('meta.twig') }}
{% endif %}
{% if Page.author is not empty %}
<meta name="author" content="{{ Page.author }}">
{% endif %}
{% if Page.keyword is not empty %}
<meta name="keywords" content="{{ Page.keyword }}">
{% endif %}
{% if Page.meta_robots is not empty %}
<meta name="robots" content="{{ Page.meta_robots }}">
{% endif %}
<link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
<!-- Common CSS -->
<link rel="stylesheet" href="{{ asset('assets/css/original.min.css') }}">
{{ include('css.twig') }}
<script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
{% block stylesheet %}{% endblock %}
<style type="text/css">
.ec-debugModeAlert {
background: red;
height: 50px;
position: fixed;
top: 0;
width: 100%;
color: white;
z-index: 9999;
display: flex;
font-weight: bold;
}
.ec-debugModeAlert .ec-debugModeAlert__icon {
display: inline-block;
margin-right: 1rem;
width: 20px;
height: 20px;
color: #fff;
fill: #fff;
vertical-align: top;
}
</style>
<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 %}
</head>
<body>
{#
<!--▼googleAnalytics-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46462729-1', 'golfprint.jp');
ga('send', 'pageview');
</script>
<!--▲googleAnalytics-->
#}
{# Layout: BODY_AFTER #}
{% if Layout.BodyAfter %}
{{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
{% endif %}
{#
{% if isMaintenance is defined and isMaintenance and isDebugMode %}
<dev class="ec-twoModeAlert">
<div class="ec-maintenanceAlert">
<div>
<div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
{{ 'メンテナンスモードが有効になっています。'|trans }}
</div>
</div>
<div class="ec-debugModeAlert bg-danger">
<div>
<div class="ec-debugModeAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
{{ 'デバッグモードが有効になっています。'|trans }}
</div>
</div>
</dev>
{% else %}
{% if isMaintenance %}
<div class="ec-maintenanceAlert">
<div>
<div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
{{ 'メンテナンスモードが有効になっています。'|trans }}
</div>
</div>
{% endif %}
{% if isDebugMode %}
<div class="ec-debugModeAlert bg-danger">
<div>
<div class="ec-debugModeAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
{{ 'デバッグモードが有効になっています。'|trans }}
</div>
</div>
{% endif %}
{% endif %}
#}
{# Layout: HEADER #}
{% if Layout.Header %}
{{ include('block.twig', {'Blocks': Layout.Header}) }}
{% endif %}
{# Layout: CONTENTS_TOP #}
{% if Layout.ContentsTop %}
{{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
{% endif %}
{# Layout: SIDE_LEFT #}
{% if Layout.SideLeft %}
{{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
{% 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 %}
{# Layout: MAIN_TOP #}
{% if Layout.MainTop %}
{{ include('block.twig', {'Blocks': Layout.MainTop}) }}
{% endif %}
{# MAIN AREA #}
{% block main %}{% endblock %}
{# Layout: MAIN_Bottom #}
{% if Layout.MainBottom %}
{{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
{% endif %}
{# Layout: SIDE_RIGHT #}
{% if Layout.SideRight %}
{{ include('block.twig', {'Blocks': Layout.SideRight}) }}
{% endif %}
{# Layout: CONTENTS_BOTTOM #}
{% if Layout.ContentsBottom %}
{{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
{% endif %}
{# Layout: CONTENTS_FOOTER #}
{% if Layout.Footer %}
{{ include('block.twig', {'Blocks': Layout.Footer}) }}
{% endif %}
{# Layout: DRAWER #}
{% if Layout.Drawer %}
<div class="drawerRole">
{{ include('block.twig', {'Blocks': Layout.Drawer}) }}
</div>
{% endif %}
<!-- Common JS -->
<script src="//cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="{{ asset('assets/js/common.min.js') }}"></script>
{% include('@common/lang.twig') %}
<script src="{{ asset('assets/js/function.js') }}"></script>
<script src="{{ asset('assets/js/eccube.js') }}"></script>
{{ include('javascript.twig') }}
{% 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 %}
</body>
</html>