Fix warning message for portable links, remove 'Image' from message
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
{{- $destination = .RelPermalink -}}
|
{{- $destination = .RelPermalink -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $mode := .Page.Site.Params.BookPortableLinks -}}
|
{{- $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" -}}
|
{{- if eq $mode "warning" -}}
|
||||||
{{- warnf $message -}}
|
{{- warnf $message -}}
|
||||||
{{- else if eq $mode "error" -}}
|
{{- else if eq $mode "error" -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user