gcg-website/layouts/partials/footer.html

77 lines
3.2 KiB
HTML
Raw Permalink Normal View History

2023-03-05 21:33:21 +01:00
<footer data-pagefind-ignore>
2022-03-18 13:35:57 +01:00
<div class="footer bg-footer section border-bottom">
<div class="container">
<div class="row">
<div class="col-lg-3 col-sm-8 mb-5 mb-lg-0">
2022-03-21 12:35:46 +01:00
<a class="logo-footer" href="{{ .Site.BaseURL | relLangURL }}"><img class="mb-4" height="60" src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}"></a>
2022-03-18 13:35:57 +01:00
<ul class="list-unstyled">
<li class="mb-4">
<a href="{{ .Site.Params.route_link }}">{{ .Site.Params.address | markdownify }}</a>
</li>
<li class="mb-4"><a href="mailto:{{ .Site.Params.email }}">{{ .Site.Params.email_pretty | markdownify }}</a></li>
2022-03-18 13:35:57 +01:00
<li class="mb-4"><a href="tel:{{ .Site.Params.mobile | markdownify }}">{{ .Site.Params.mobile | markdownify }}</a></li>
<li class="mb-4">
<a href="{{ .Site.Params.impressumURL | absLangURL }}">Impressum</a>
</li>
<li class="mb-4">
<a href="{{ .Site.Params.dseURL | absLangURL }}">Datenschutz</a>
</li>
2022-03-18 13:35:57 +01:00
</ul>
</div>
<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>
<div class="col-lg-3 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">
2022-12-31 18:13:07 +01:00
{{ range first 5 (where .Site.RegularPages "Type" "ganztagsangebote" | shuffle)}}
2022-03-18 13:35:57 +01:00
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
<div class="col-lg-4 col-sm-4 col-6 mb-5 mb-md-0">
2023-02-08 16:03:47 +01:00
<h4 class="text-white mb-5 text-uppercase">Aktuelles</h4>
2022-03-18 13:35:57 +01:00
<ul class="list-unstyled">
2023-02-08 16:03:47 +01:00
{{ range first 5 (where .Site.RegularPages "Type" "post")}}
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title | truncate 35 }}</a></li>
2022-03-18 13:35:57 +01:00
{{ end }}
</ul>
</div>
</div>
</div>
</div>
<div class="copyright py-4 bg-footer">
<div class="container">
<div class="row">
<div class="col-sm-7 text-sm-start text-center">
2023-01-14 17:31:54 +01:00
<p class="mb-0">{{ .Site.Params.copyright | markdownify | emojify }}</p>
2022-03-18 13:35:57 +01:00
</div>
<div class="col-sm-5 text-smend text-center">
2022-03-18 13:35:57 +01:00
<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>
2023-01-14 17:31:54 +01:00
{{ range .Site.Params.plugins.js }}
<script src="{{ . | absURL }}"></script>
2022-03-18 13:35:57 +01:00
{{ end }}
{{ $script := resources.Get "js/script.js" | minify}}
<script src="{{ $script.Permalink }}"></script>
<script>
var lazyLoadInstance = new LazyLoad({
// Your custom settings go here
});
</script>