From f5d2f5ed491e234e8a859f96e68d7077b1ccdd62 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Tue, 3 Oct 2023 18:36:48 +0300 Subject: [PATCH] Fix typos in content/en/functions/fmt --- content/en/functions/fmt/Errorf.md | 2 +- content/en/functions/fmt/Erroridf.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/functions/fmt/Errorf.md b/content/en/functions/fmt/Errorf.md index 409c70c0a..da9845073 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 2271be2ac..986810436 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: