summaryrefslogtreecommitdiffstats
path: root/resources/page/permalinks.go
diff options
context:
space:
mode:
authorChristian Oliff <christianoliff@pm.me>2024-02-11 20:51:33 +0900
committerGitHub <noreply@github.com>2024-02-11 13:51:33 +0200
commit0672b5c76605132475ff18b8c526f1cf0d6affc3 (patch)
tree2af2eb9d8eb1458ed6c39b58328c7d21d0c522d2 /resources/page/permalinks.go
parente309f82efe1885aa5b8030be48c36ba4432ddd7b (diff)
all: Fix typos
Diffstat (limited to 'resources/page/permalinks.go')
-rw-r--r--resources/page/permalinks.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/page/permalinks.go b/resources/page/permalinks.go
index 1677d3a90..67c63c4b2 100644
--- a/resources/page/permalinks.go
+++ b/resources/page/permalinks.go
@@ -30,7 +30,7 @@ import (
"github.com/gohugoio/hugo/resources/kinds"
)
-// PermalinkExpander holds permalin mappings per section.
+// PermalinkExpander holds permalink mappings per section.
type PermalinkExpander struct {
// knownPermalinkAttributes maps :tags in a permalink specification to a
// function which, given a page and the tag, returns the resulting string
@@ -422,7 +422,7 @@ func DecodePermalinksConfig(m map[string]any) (map[string]map[string]string, err
// [permalinks]
// key = '...'
- // To sucessfully be backward compatible, "default" patterns need to be set for both page and term
+ // To successfully be backward compatible, "default" patterns need to be set for both page and term
permalinksConfig[kinds.KindPage][k] = v
permalinksConfig[kinds.KindTerm][k] = v