portfoligor/layouts/partials/footer.html

25 lines
797 B
HTML

<footer class="main-footer">
<nav role="navigation" aria-label="Secondary">
<ul>
{{ $currentPage := . -}}
{{ 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>
<a href="https://framagit.org/iGormilhit/igor.milhit/-/commit/{{- $git.Hash -}}"
title="Dernier commit modifiant cette page">
{{ $git.AbbreviatedHash }}
</a>
</code>
</li>
{{ end }}
</ul>
</footer>