mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
all: Typo fixes
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
6927e6f048
commit
4094a1e12c
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user