From ae912cc38d3f77d928b5c1f8f1a3c0575bf3415a Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 23 Apr 2026 17:10:19 +0200 Subject: [PATCH] Fix warning message for portable links, remove 'Image' from message --- layouts/_partials/docs/links/portable-link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_partials/docs/links/portable-link.html b/layouts/_partials/docs/links/portable-link.html index 009db6b..0f7dbe3 100644 --- a/layouts/_partials/docs/links/portable-link.html +++ b/layouts/_partials/docs/links/portable-link.html @@ -17,7 +17,7 @@ {{- $destination = .RelPermalink -}} {{- else -}} {{- $mode := .Page.Site.Params.BookPortableLinks -}} - {{- $message := printf "Image reference '%s' not found in '%s'" .Destination .Page.RelPermalink -}} + {{- $message := printf "Reference '%s' not found in '%s'" .Destination .Page.RelPermalink -}} {{- if eq $mode "warning" -}} {{- warnf $message -}} {{- else if eq $mode "error" -}}