1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +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 -}}
{{- $buildCtx := "on my workstation" -}}
{{- 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 -}}
<p>
This site was last built on