{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_body_script %}
{% if config('FlinkFriendlyGreeting.config.useBrowserTime') %}
<script>
var flinkFriendlyGreetings = [
'{{"flink.friendly_greeting.good_morning"|trans|sw_sanitize}}',
'{{"flink.friendly_greeting.good_day"|trans|sw_sanitize}}',
'{{"flink.friendly_greeting.good_evening"|trans|sw_sanitize}}',
];
var flinkFriendlyGreetingComma = '{{"flink.friendly_greeting.comma"|trans|sw_sanitize}}';
</script>
{% endif %}
{{ parent() }}
{% endblock %}
{% block base_script_router %}
{{ parent() }}
{% if config('FlinkFriendlyGreeting.config.bypassCache') %}
<script>window.router['flink.get-user-info'] = '{{ path('flink.get-user-info') }}';</script>
{% endif %}
{% endblock %}