summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/footer.html
blob: 32249a9fe0ed05227c629b97d8c0ac980366cf06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<hr>
<p>{{ partial "copyright.html" . }}</p>
<p>
  Powered by
  <a href="https://gohugo.io/">Hugo</a>,
  <a href="https://www.openbsd.org/">OpenBSD</a>, and
  <a href="https://freedns.afraid.org/">Free&nbsp;DNS</a>.
</p>
<p>
  {{- $repoUrl := .Site.Params.Repo.Url }}
  {{- with .GitInfo }}
    {{- $baseUrl := urls.JoinPath $repoUrl "/commit/" }}
    {{- $commitUrl := printf "%s?id=%s" $baseUrl .Hash }}
    Last modified {{ .CommitDate.Format "2006-01-02" }}:
    <a href="{{ $commitUrl }}">{{ .AbbreviatedHash }}</a>.
    <a href="{{ $repoUrl }}">Source&nbsp;code&nbsp;→</a>
  {{- end }}
</p>