all: Typo fixes

This commit is contained in:
coliff
2025-02-26 20:35:12 +09:00
committed by Bjørn Erik Pedersen
parent 6927e6f048
commit 4094a1e12c
5 changed files with 6 additions and 6 deletions

View File

@@ -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{

View File

@@ -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

View File

@@ -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
}