Fix some typos - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit fc3d1cbadb48d5f8e10fcd811377de6b8453ea8d
DIR parent 7e130e34f202d400891cd2acaaf196c049b17f7f
HTML Author: huajin tong <137764712+thirdkeyword@users.noreply.github.com>
Date: Thu, 28 Nov 2024 18:20:02 +0800
Fix some typos
Diffstat:
M common/hugo/hugo.go | 2 +-
M hugolib/doctree/nodeshifttree.go | 2 +-
M markup/blackfriday/anchors.go | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git 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 {
DIR diff --git 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
DIR diff --git 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"