2023-11-28 03:36:36 +00:00
|
|
|
{{- $now := now -}}
|
|
|
|
{{- $buildCtx := "on my workstation" -}}
|
|
|
|
{{- with getenv "JOB_URL" -}}
|
2023-11-28 03:48:07 +00:00
|
|
|
{{- $buildCtx = printf `<a href="%s">on builds.sr.ht</a>` . | safeHTML -}}
|
2023-11-28 03:36:36 +00:00
|
|
|
{{- end -}}
|
|
|
|
<p>
|
|
|
|
This site was last built on
|
|
|
|
<time datetime="{{ $now.Format "2006-01-02T15:04:05-07:00" | safeHTML }}">{{ $now.Format "2006-01-02 15:04:05-07:00" | safeHTML }}</time>
|
|
|
|
by
|
|
|
|
<a href="https://github.com/gohugoio/hugo/tree/{{ .Site.Hugo.CommitHash }}">Hugo {{ .Site.Hugo.Version }}</a>
|
|
|
|
{{ $buildCtx }}.
|
|
|
|
</p>
|