diff options
Diffstat (limited to 'hugolib/shortcode.go')
-rw-r--r-- | hugolib/shortcode.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go index 0b583b753..a08b76339 100644 --- a/hugolib/shortcode.go +++ b/hugolib/shortcode.go @@ -167,7 +167,7 @@ func HandleShortcodes(stringToParse string, page *Page, t tpl.Template) (string, tmpContentWithTokensReplaced, err := replaceShortcodeTokens([]byte(tmpContent), shortcodePlaceholderPrefix, shortcodes) if err != nil { - return "", fmt.Errorf("Fail to replace short code tokens in %s:\n%s", page.BaseFileName(), err.Error()) + return "", fmt.Errorf("Failed to replace shortcode tokens in %s:\n%s", page.BaseFileName(), err.Error()) } return string(tmpContentWithTokensReplaced), nil } |