<!DOCTYPE html>
<html lang="{{app.request.locale}}">
<head>
<meta charset="UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>
{% block title %}Get to hikes
{% endblock %}
</title>
<link rel="icon" type="image/png" href="{{ absolute_url( asset('build/images/icons/favicon.png') ) }}"/>
{% block head %}{% endblock %}
<meta name="description" content="{% block meta_description %}{% endblock %}">
<meta name="keywords" content="{% block meta_keywords %}{% endblock %}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="{% block meta_nofollow %}index, follow{% endblock %}"/>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-K245GBKF');</script>
<!-- End Google Tag Manager -->
<script>window.dataLayer = window.dataLayer || [];</script>
<script src="https://consent-eu.cookiefirst.com/sites/gettohikes.com-28f2025e-6402-42b0-88dd-12daf4a4f64c/consent.js"></script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K245GBKF"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% block header %}{% endblock %}
<div class="main"> {% block body %}{% endblock %}
</div>
{% block footer %}{% endblock %}
{% block javascripts %}
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous" defer></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC_wnmYjsJntUztVgSskMHIzVLL1iFuZBY"></script>
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('script') }}
{% if form.captcha is defined %}
<script type="text/javascript">
function onGoogleReCaptchaApiLoad() {
var widgets = document.querySelectorAll('[data-toggle="recaptcha"]');
for (var i = 0; i < widgets.length; i++) {
renderReCaptcha(widgets[i]);
}
}
function renderReCaptcha(widget) {
var form = widget.closest('form');
var widgetType = widget.getAttribute('data-type');
var widgetParameters = {
'sitekey': '{{ gg_recaptcha_site_key }}'
};
if (widgetType == 'invisible') {
widgetParameters['callback'] = function () {
form.submit()
};
widgetParameters['size'] = "invisible";
}
var widgetId = grecaptcha.render(widget, widgetParameters);
if (widgetType == 'invisible') {
bindChallengeToSubmitButtons(form, widgetId);
}
}
</script>
<script type="text/javascript" src="https://www.google.com/recaptcha/api.js?onload=onGoogleReCaptchaApiLoad&render=explicit&hl={{app.request.locale}}" async defer></script>
{% endif %}
{% endblock %}
</body>
</html>