fediversity.eu/themes/hugoplate/layouts/partials/essentials/footer.html

66 lines
1.8 KiB
HTML
Raw Normal View History

2024-03-26 16:28:28 +01:00
<footer class="bg-theme-light dark:bg-darkmode-theme-light">
<div class="container">
<div class="row items-center py-10">
<div class="lg:col-3 mb-8 text-center lg:mb-0 lg:text-left">
<!-- navbar brand/logo -->
<a
class="navbar-brand inline-block"
2024-03-27 12:24:18 +01:00
href="{{ site.Home.RelPermalink }}"
>
2024-03-26 16:28:28 +01:00
{{ partial "logo" }}
</a>
</div>
<div class="lg:col-6 mb-8 text-center lg:mb-0">
<ul>
{{ range site.Menus.footer }}
2024-03-27 12:24:18 +01:00
<li class="m-3 inline-block">
<a
{{
if
findRE
`^http`
.URL
}}
target="_blank"
rel="noopener"
{{
end
}}
href="{{ if findRE `^#` .URL }}
2024-03-26 16:28:28 +01:00
{{ if not $.IsHome }}
{{ site.Home.RelPermalink }}
{{ end }}{{ .URL }}
{{ else }}
{{ .URL | relLangURL }}
{{ end }}"
2024-03-27 12:24:18 +01:00
>{{ .Name }}</a
>
</li>
2024-03-26 16:28:28 +01:00
{{ end }}
</ul>
</div>
<div class="lg:col-3 mb-8 text-center lg:mb-0 lg:mt-0 lg:text-right">
<ul class="social-icons">
{{ range site.Data.social.main }}
2024-03-27 12:24:18 +01:00
<li>
<a
target="_blank"
aria-label="{{ .name }}"
rel="nofollow noopener"
href="{{ .link | safeURL }}"
>
<i class="{{ .icon }}"></i>
</a>
</li>
2024-03-26 16:28:28 +01:00
{{ end }}
</ul>
</div>
</div>
</div>
<div class="border-border dark:border-darkmode-border border-t py-7">
<div class="text-light dark:text-darkmode-light container text-center">
2024-03-27 12:24:18 +01:00
<p>{{ site.Params.copyright | markdownify }}</p>
2024-03-26 16:28:28 +01:00
</div>
</div>
</footer>