mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-18 06:42:10 +00:00
75db0fe0fa
- Link to workstation info when building locally. - More clearly link to build log when building in CI.
12 lines
547 B
HTML
12 lines
547 B
HTML
{{- $now := now -}}
|
|
{{- $buildCtx := `on <a href="../about/uses/#hardware">my workstation</a>` -}}
|
|
{{- with getenv "JOB_URL" -}}
|
|
{{- $buildCtx = printf `on builds.sr.ht. <a href="%s">See build log</a>` -}}
|
|
{{- end -}}
|
|
<p>
|
|
This site was last built on
|
|
<time datetime="{{ $now.UTC.Format "2006-01-02T15:04:05-07:00" | safeHTML }}">{{ $now.UTC.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 | safeHTML}}.
|
|
</p>
|