From 75db0fe0fa7f75261eea61b7e503b35e3cf84c64 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 25 Mar 2024 01:55:00 -0400 Subject: [PATCH] Meta: refine link to build environment - Link to workstation info when building locally. - More clearly link to build log when building in CI. --- layouts/shortcodes/build-info.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/build-info.html b/layouts/shortcodes/build-info.html index 4049e5b..08b2a29 100644 --- a/layouts/shortcodes/build-info.html +++ b/layouts/shortcodes/build-info.html @@ -1,12 +1,12 @@ {{- $now := now -}} -{{- $buildCtx := "on my workstation" -}} +{{- $buildCtx := `on my workstation` -}} {{- with getenv "JOB_URL" -}} - {{- $buildCtx = printf `on builds.sr.ht` . | safeHTML -}} + {{- $buildCtx = printf `on builds.sr.ht. See build log` -}} {{- end -}}

This site was last built on by Hugo {{ .Site.Hugo.Version }} - {{ $buildCtx }}. + {{ $buildCtx | safeHTML}}.