Add full path to error messages

This commit is contained in:
Will Faught
2023-04-23 23:24:10 -07:00
parent 313370e91c
commit 5359a3d1fa
11 changed files with 13 additions and 13 deletions

View File

@@ -9,7 +9,7 @@
{{ $width := .Get "width" }}
{{ if not $content }}
{{ errorf "paige/figure: no content" }}
{{ errorf "layouts/shortcodes/paige/figure.html: no content" }}
{{ end }}
{{ $showcaption := $caption }}
@@ -37,7 +37,7 @@
{{ else if eq $float "end" }}
{{ $sidemargin = "ms-4" }}
{{ else }}
{{ errorf "paige/figure: invalid float: %q" $float }}
{{ errorf "layouts/shortcodes/paige/figure.html: invalid float: %q" $float }}
{{ end }}
{{ end }}