Correct typos in Go comments

This commit is contained in:
Oleksandr Redko
2023-02-18 22:47:35 +02:00
committed by Bjørn Erik Pedersen
parent 17e60b77e1
commit 36ce3a4a9d
26 changed files with 35 additions and 35 deletions

View File

@@ -23,7 +23,7 @@ const (
KindHome = "home"
KindSection = "section"
// Note tha before Hugo 0.73 these were confusingly named
// Note that before Hugo 0.73 these were confusingly named
// taxonomy (now: term)
// taxonomyTerm (now: taxonomy)
KindTaxonomy = "taxonomy"

View File

@@ -22,7 +22,7 @@ func (p Pages) Next(cur Page) Page {
return p[x-1]
}
// Prev returns the previous page reletive to the given
// Prev returns the previous page relative to the given
func (p Pages) Prev(cur Page) Page {
x := searchPage(cur, p)

View File

@@ -62,7 +62,7 @@ type Site interface {
// Returns the BaseURL for this Site.
BaseURL() template.URL
// Retuns a taxonomy map.
// Returns a taxonomy map.
Taxonomies() TaxonomyList
// Returns the last modification date of the content.