diff --git a/content/en/functions/fmt/Errorf.md b/content/en/functions/fmt/Errorf.md index 409c70c0a4..da9845073d 100644 --- a/content/en/functions/fmt/Errorf.md +++ b/content/en/functions/fmt/Errorf.md @@ -26,7 +26,7 @@ Like the [`printf`] function, the `errorf` function evaluates the format string {{ errorf "The %q shortcode requires a src parameter. See %s" .Name .Position }} ``` -Use the [`erroridf`] function to allow optional supression of specific errors. +Use the [`erroridf`] function to allow optional suppression of specific errors. [`erroridf`]: /functions/fmt/erroridf [`printf`]: /functions/fmt/printf diff --git a/content/en/functions/fmt/Erroridf.md b/content/en/functions/fmt/Erroridf.md index 2271be2ac1..9868104369 100644 --- a/content/en/functions/fmt/Erroridf.md +++ b/content/en/functions/fmt/Erroridf.md @@ -22,7 +22,7 @@ The documentation for [Go's fmt package] describes the structure and content of Like the [`errorf`] function, the `erroridf` function evaluates the format string, prints the result to the ERROR log, then fails the build. Hugo prints each unique message once to avoid flooding the log with duplicate errors. -Unlike the `errorf` function, you may surpress errors logged by the `erroridf` function by adding the messsage ID to the `ignoreErrors` array in your site configuration. +Unlike the `errorf` function, you may suppress errors logged by the `erroridf` function by adding the message ID to the `ignoreErrors` array in your site configuration. This template code: