1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
seirdy.one/layouts/shortcodes/build-info.html

13 lines
497 B
HTML
Raw Normal View History

{{- $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 -}}
{{- end -}}
<p>
This site was last built on
2023-11-29 13:52:05 +00:00
<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 }}.
</p>