138 lines
5.4 KiB
HTML
Executable File
138 lines
5.4 KiB
HTML
Executable File
<!-- footer -->
|
|
<footer>
|
|
<!-- newsletter -->
|
|
{{ if .Site.Params.subscription.enable }}
|
|
{{ with .Site.Params.subscription }}
|
|
<div class="newsletter">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-9 ml-auto bg-primary py-5 newsletter-block">
|
|
<h3 class="text-white">{{ i18n "subscribe_newsletter" }}</h3>
|
|
<form action="{{ .mailchimp_form_action }}" method="post" name="mc-embedded-subscribe-form" target="_blank">
|
|
<div class="input-wrapper">
|
|
<input type="email" class="form-control border-0" id="newsletter" name="newsletter" placeholder="{{ i18n "enter_email" }}">
|
|
<button type="submit" name="subscribe" class="btn btn-primary">{{ i18n "join" }}</button>
|
|
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
|
<input type="text" name="{{ .mailchimp_form_name }}" tabindex="-1">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
<!-- footer content -->
|
|
<div class="footer bg-footer section border-bottom">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-4 col-sm-8 mb-5 mb-lg-0">
|
|
<!-- logo -->
|
|
<a class="logo-footer" href="{{ .Site.BaseURL | relLangURL }}"><img class="img-fluid mb-4" src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}"></a>
|
|
<ul class="list-unstyled">
|
|
<li class="mb-4">{{ .Site.Params.address | markdownify }}</li>
|
|
<li class="mb-4">{{ .Site.Params.email | markdownify }}</li>
|
|
<li class="mb-4">{{ .Site.Params.mobile | markdownify }}</li>
|
|
<li class="mb-4">
|
|
<a href="{{ .Site.Params.impressumURL | absLangURL }}">Impressum</a>
|
|
</li>
|
|
<li class="mb-4">
|
|
<a href="{{ .Site.Params.datenschutzURL | absLangURL }}">{{ i18n "datenschutzerklärung" }}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- company -->
|
|
<div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
|
|
<h4 class="text-white mb-5 text-uppercase">{{ i18n "company" }}</h4>
|
|
<ul class="list-unstyled">
|
|
{{ range .Site.Menus.main }}
|
|
{{ if not .HasChildren }}
|
|
<li class="mb-3"><a class="text-color" href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
<!-- links -->
|
|
<div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
|
|
<h4 class="text-white mb-5 text-uppercase">{{ i18n "links" }}</h4>
|
|
<ul class="list-unstyled">
|
|
{{ range .Site.Menus.footer }}
|
|
<li class="mb-3"><a class="text-color" href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
<!-- support -->
|
|
<div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
|
|
<h4 class="text-white mb-5 text-uppercase">{{ i18n "clubs_footer" }}</h4>
|
|
<ul class="list-unstyled">
|
|
{{ range first 5 (where .Site.RegularPages "Type" "ganztagsangebote")}}
|
|
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
<!-- support -->
|
|
<div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
|
|
<h4 class="text-white mb-5 text-uppercase">{{ i18n "new_notice" }}</h4>
|
|
<ul class="list-unstyled">
|
|
{{ range first 3 (where .Site.RegularPages "Type" "notice")}}
|
|
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- copyright -->
|
|
<div class="copyright py-4 bg-footer">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-7 text-sm-left text-center">
|
|
<p class="mb-0">{{ .Site.Params.copyright | markdownify }}</p>
|
|
</div>
|
|
<div class="col-sm-5 text-sm-right text-center">
|
|
<ul class="list-inline">
|
|
{{ range .Site.Params.social }}
|
|
<li class="list-inline-item"><a class="d-inline-block p-2" href="{{ .link | safeURL }}"><i class="{{ .icon }} text-primary"></i></a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<!-- /footer -->
|
|
|
|
{{ "<!-- Google Map API -->" | safeHTML }}
|
|
{{ with .Site.Params.map.gmap_api }}
|
|
<script src="{{ . | safeURL }}"></script>
|
|
{{ end }}
|
|
|
|
{{ "<!-- JS Plugins -->" | safeHTML }}
|
|
{{ range .Site.Params.plugins.js}}
|
|
<script src="{{ .link | absURL }}"></script>
|
|
{{ end }}
|
|
|
|
{{ "<!-- Main Script -->" | safeHTML }}
|
|
{{ $script := resources.Get "js/script.js" | minify}}
|
|
<script src="{{ $script.Permalink }}"></script>
|
|
|
|
{{ "<!-- google analitycs -->" | safeHTML }}
|
|
{{ with .Site.Params.google_analitycs_id}}
|
|
<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', '{{ . }}', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
{{ end }}
|