Skip to content

Commit

Permalink
all: Typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Feb 26, 2025
1 parent 521911a commit 28bb2cd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
>**Note:** We would apprecitate if you hold on with any big refactorings (like renaming deprecated Go packages), mainly because of potential for extra merge work for future coming in in the near future.
>**Note:** We would appreciate if you hold on with any big refactoring (like renaming deprecated Go packages), mainly because of potential for extra merge work for future coming in in the near future.
# Contributing to Hugo

Expand Down
4 changes: 2 additions & 2 deletions cache/httpcache/httpcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var DefaultConfig = Config{

// Config holds the configuration for the HTTP cache.
type Config struct {
// Configures the HTTP cache behaviour (RFC 9111).
// Configures the HTTP cache behavior (RFC 9111).
// When this is not enabled for a resource, Hugo will go straight to the file cache.
Cache Cache

Expand All @@ -52,7 +52,7 @@ type Config struct {
}

type Cache struct {
// Enable HTTP cache behaviour (RFC 9111) for these rsources.
// Enable HTTP cache behavior (RFC 9111) for these resources.
For GlobMatcher
}

Expand Down
2 changes: 1 addition & 1 deletion hugolib/pagesfromdata/pagesfromgotmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ type sourceInfo struct {
}

func (p PagesFromTemplate) CloneForSite(s page.Site) *PagesFromTemplate {
// We deliberately make them share the same DepenencyManager and Store.
// We deliberately make them share the same DependencyManager and Store.
p.PagesFromTemplateOptions.Site = s
p.PagesFromTemplateDeps = p.PagesFromTemplateOptions.DepsFromSite(s)
p.buildState = &BuildState{
Expand Down
2 changes: 1 addition & 1 deletion hugolib/segments/segments.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (e excludeInclude) ShouldExcludeCoarse(fields SegmentMatcherFields) bool {
}

// ShouldExcludeFine returns whether the given fields should be excluded.
// This is used for the finer grained checks, e.g. on invididual pages.
// This is used for the finer grained checks, e.g. on individual pages.
func (e excludeInclude) ShouldExcludeFine(fields SegmentMatcherFields) bool {
if e.exclude != nil && e.exclude(fields) {
return true
Expand Down
2 changes: 1 addition & 1 deletion hugolib/site_output.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func createSiteOutputFormats(allFormats output.Formats, outputs map[string]any,
f, found := allFormats.GetByName(format)
if !found {
if rssDisabled && strings.EqualFold(format, "RSS") {
// This is legacy behaviour. We used to have both
// This is legacy behavior. We used to have both
// a RSS page kind and output format.
continue
}
Expand Down

0 comments on commit 28bb2cd

Please sign in to comment.