2022-11-06 20:50:30 +01:00
|
|
|
{{ $currentPage := . -}}
|
|
|
|
{{ $siteSources := .Site.Params.siteSources }}
|
2021-11-04 18:19:15 +01:00
|
|
|
<footer class="main-footer no-print">
|
2021-10-29 22:34:24 +02:00
|
|
|
<nav role="navigation" aria-label="Secondary">
|
|
|
|
<ul>
|
|
|
|
{{ range sort .Site.Menus.footer -}}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-item-link{{if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} active{{end}}"
|
|
|
|
id="{{ .Identifier }}"
|
|
|
|
href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end -}}
|
|
|
|
{{ with .GitInfo }}
|
|
|
|
{{ $git := . }}
|
|
|
|
<li>
|
|
|
|
<code>
|
2022-11-06 20:50:30 +01:00
|
|
|
<a href="
|
|
|
|
{{- if eq $siteSources.type "gitlab" -}}
|
|
|
|
{{ $siteSources.url }}/-/
|
|
|
|
{{- else -}}
|
|
|
|
{{ $siteSources.url }}/
|
|
|
|
{{- end -}}
|
|
|
|
commit/{{- $git.Hash -}}"
|
|
|
|
title="{{ i18n "lastCommit" }}">
|
2021-10-29 22:34:24 +02:00
|
|
|
{{ $git.AbbreviatedHash }}
|
|
|
|
</a>
|
|
|
|
</code>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2019-07-08 07:05:23 +02:00
|
|
|
</footer>
|