summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/footer.html
blob: cd01a546e2f39b6fb35507bedc226eaf916728aa (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>.
	{{- end }}
	<a href="{{ $repoUrl }}">Source&nbsp;code&nbsp;→</a>
</p>