mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-25 13:10:38 +03:00
all: Typo fixes
This commit is contained in:
parent
6927e6f048
commit
4094a1e12c
5 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
4
cache/httpcache/httpcache.go
vendored
4
cache/httpcache/httpcache.go
vendored
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue