Skip to content

Commit 4094a1e

Browse files
coliffbep
authored andcommitted
all: Typo fixes
1 parent 6927e6f commit 4094a1e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
>**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.
1+
>**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.
22
33
# Contributing to Hugo
44

cache/httpcache/httpcache.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var DefaultConfig = Config{
4242

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

@@ -52,7 +52,7 @@ type Config struct {
5252
}
5353

5454
type Cache struct {
55-
// Enable HTTP cache behaviour (RFC 9111) for these rsources.
55+
// Enable HTTP cache behavior (RFC 9111) for these resources.
5656
For GlobMatcher
5757
}
5858

hugolib/pagesfromdata/pagesfromgotmpl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ type sourceInfo struct {
270270
}
271271

272272
func (p PagesFromTemplate) CloneForSite(s page.Site) *PagesFromTemplate {
273-
// We deliberately make them share the same DepenencyManager and Store.
273+
// We deliberately make them share the same DependencyManager and Store.
274274
p.PagesFromTemplateOptions.Site = s
275275
p.PagesFromTemplateDeps = p.PagesFromTemplateOptions.DepsFromSite(s)
276276
p.buildState = &BuildState{

hugolib/segments/segments.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (e excludeInclude) ShouldExcludeCoarse(fields SegmentMatcherFields) bool {
4444
}
4545

4646
// ShouldExcludeFine returns whether the given fields should be excluded.
47-
// This is used for the finer grained checks, e.g. on invididual pages.
47+
// This is used for the finer grained checks, e.g. on individual pages.
4848
func (e excludeInclude) ShouldExcludeFine(fields SegmentMatcherFields) bool {
4949
if e.exclude != nil && e.exclude(fields) {
5050
return true

hugolib/site_output.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func createSiteOutputFormats(allFormats output.Formats, outputs map[string]any,
8080
f, found := allFormats.GetByName(format)
8181
if !found {
8282
if rssDisabled && strings.EqualFold(format, "RSS") {
83-
// This is legacy behaviour. We used to have both
83+
// This is legacy behavior. We used to have both
8484
// a RSS page kind and output format.
8585
continue
8686
}

0 commit comments

Comments
 (0)