- website/layouts/_partials/extend_head.html: injects <meta name="x-version"> using HUGO_PARAMS_GITVERSION (set by Taskfile at build time) - Taskfile: website-build sets HUGO_PARAMS_GITVERSION=<short HEAD>; new website-verify task runs scripts/website-verify.sh - scripts/website-verify.sh: fetches homepage, retries 6x/10s, checks that the deployed version hash matches HEAD - website.yml: Verify step after Deploy; scripts/website-verify.sh added to path trigger Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 lines
90 B
HTML
4 lines
90 B
HTML
{{- with site.Params.gitversion -}}
|
|
<meta name="x-version" content="{{ . }}">
|
|
{{- end -}}
|