aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorhuajin tong <[email protected]>2024-11-28 18:20:02 +0800
committerGitHub <[email protected]>2024-11-28 11:20:02 +0100
commitfc3d1cbadb48d5f8e10fcd811377de6b8453ea8d (patch)
tree8ff737d4807562f796b347c8487625a41f5f7512
parent7e130e34f202d400891cd2acaaf196c049b17f7f (diff)
downloadhugo-fc3d1cbadb48d5f8e10fcd811377de6b8453ea8d.tar.gz
hugo-fc3d1cbadb48d5f8e10fcd811377de6b8453ea8d.zip
Fix some typos
-rw-r--r--common/hugo/hugo.go2
-rw-r--r--hugolib/doctree/nodeshifttree.go2
-rw-r--r--markup/blackfriday/anchors.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/hugo/hugo.go b/common/hugo/hugo.go
index 11ec40e0b..e480baa94 100644
--- a/common/hugo/hugo.go
+++ b/common/hugo/hugo.go
@@ -426,7 +426,7 @@ func DeprecateLevel(item, alternative, version string, level logg.Level) {
loggers.Log().Logger().WithLevel(level).WithField(loggers.FieldNameCmd, "deprecated").Logf(msg)
}
-// We ususally do about one minor version a month.
+// We usually do about one minor version a month.
// We want people to run at least the current and previous version without any warnings.
// We want people who don't update Hugo that often to see the warnings and errors before we remove the feature.
func deprecationLogLevelFromVersion(ver string) logg.Level {
diff --git a/hugolib/doctree/nodeshifttree.go b/hugolib/doctree/nodeshifttree.go
index 36382c2d7..497e9f02e 100644
--- a/hugolib/doctree/nodeshifttree.go
+++ b/hugolib/doctree/nodeshifttree.go
@@ -59,7 +59,7 @@ type (
)
// NodeShiftTree is the root of a tree that can be shaped using the Shape method.
-// Note that multipled shapes of the same tree is meant to be used concurrently,
+// Note that multiplied shapes of the same tree is meant to be used concurrently,
// so use the applicable locking when needed.
type NodeShiftTree[T any] struct {
tree *radix.Tree
diff --git a/markup/blackfriday/anchors.go b/markup/blackfriday/anchors.go
index 7b0b41854..e00c24c9a 100644
--- a/markup/blackfriday/anchors.go
+++ b/markup/blackfriday/anchors.go
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// Package blackfriday holds some compability functions for the old Blackfriday v1 Markdown engine.
+// Package blackfriday holds some compatibility functions for the old Blackfriday v1 Markdown engine.
package blackfriday
import "unicode"