mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
all: Fix typos
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -29,7 +29,7 @@ import (
|
||||
"github.com/gohugoio/hugo/navigation"
|
||||
)
|
||||
|
||||
// Site represents a site. There can be multople sites in a multilingual setup.
|
||||
// Site represents a site. There can be multiple sites in a multilingual setup.
|
||||
type Site interface {
|
||||
// Returns the Language configured for this Site.
|
||||
Language() *langs.Language
|
||||
|
Reference in New Issue
Block a user