2024-07-13 18:17:47 +00:00
|
|
|
<div id="footer">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
{{- if gt (len .Site.Params.footer.links) 0 }}
|
|
|
|
{{- $link_cols := div (cond .Site.Params.footer.contact_form.enabled 6 12) (len .Site.Params.footer.links) }}
|
|
|
|
{{- range .Site.Params.footer.links }}
|
|
|
|
<section class="col-{{ $link_cols }} col-6-narrower col-12-mobilep">
|
|
|
|
<h3>{{ .header }}</h3>
|
|
|
|
<ul class="links">
|
|
|
|
{{- range .links }}
|
|
|
|
{{- if .pageref -}}
|
|
|
|
<li><a href="{{ (site.GetPage .pageref).Permalink }}">{{ .title }}</a>
|
|
|
|
{{- else -}}
|
|
|
|
<li><a href="{{ .url }}">{{ .title }}</a>
|
|
|
|
{{- end -}}
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
{{- end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{- if .Site.Params.footer.contact_form.enabled }}
|
|
|
|
{{- partial "footer/contact.html" .Site.Params.footer.contact_form }}
|
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul class="icons">
|
|
|
|
{{- range .Site.Params.social }}
|
|
|
|
<li><a href="{{ .url }}" class="{{ if .icon }}icon {{ .pack }} {{ .icon }}{{ end }}">
|
|
|
|
<span class="label">{{ .title }}</span>
|
|
|
|
</a></li>
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ with .OutputFormats.Get "rss" -}}
|
2024-08-01 20:48:10 +00:00
|
|
|
<li><a href="{{ relLangURL "index.xml" }}" class="icon solid fa-rss">
|
2024-07-13 18:17:47 +00:00
|
|
|
<span class="label">RSS feed</span>
|
|
|
|
</a></li>
|
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="copyright">
|
|
|
|
<ul class="menu">
|
|
|
|
{{ if .Site.Copyright }}
|
|
|
|
<li>{{ replace .Site.Copyright "{currentYear}" now.Year }}
|
|
|
|
{{ end }}
|
|
|
|
{{- if .Site.Params.attribution | default true }}
|
|
|
|
<li>Design: <a href="https://html5up.net">HTML5 UP</a>
|
|
|
|
<li><a href="https://github.com/half-duplex/hugo-arcana">Theme</a>
|
|
|
|
{{- end }}
|
2024-08-06 20:04:00 +00:00
|
|
|
{{ with .Site.Params.Source }}
|
|
|
|
<li>Commit: <a href="{{.URL}}">{{ .AbbreviatedHash }}</a>
|
|
|
|
{{ end }}
|
2024-07-13 18:17:47 +00:00
|
|
|
</ul>
|
2024-09-13 19:18:14 +00:00
|
|
|
<ul class="menu">
|
|
|
|
<li>{{ T "footer_license_note" | markdownify }}</li>
|
|
|
|
</ul>
|
2024-07-13 18:17:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|