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

Fix build info hyperlink escaping

This commit is contained in:
Rohan Kumar 2023-11-27 19:48:07 -08:00
parent 76a18c2541
commit 9ae8d87908
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,7 +1,7 @@
{{- $now := now -}} {{- $now := now -}}
{{- $buildCtx := "on my workstation" -}} {{- $buildCtx := "on my workstation" -}}
{{- with getenv "JOB_URL" -}} {{- with getenv "JOB_URL" -}}
{{- $buildCtx = `<a href="{{ . }}">on builds.sr.ht</a>` | safeHTML -}} {{- $buildCtx = printf `<a href="%s">on builds.sr.ht</a>` . | safeHTML -}}
{{- end -}} {{- end -}}
<p> <p>
This site was last built on This site was last built on