diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go index 775c57e8c..823989f7d 100644 --- a/hugolib/shortcode.go +++ b/hugolib/shortcode.go @@ -483,7 +483,7 @@ Loop: break Loop case tError: err := fmt.Errorf("%s:%d: %s", - p.BaseFileName(), (p.lineNumRawContentStart() + pt.lexer.lineNum() - 1), currItem) + p.FullFilePath(), (p.lineNumRawContentStart() + pt.lexer.lineNum() - 1), currItem) currShortcode.err = err return result.String(), shortCodes, err }