From: Aurken Bilbao Date: Thu, 20 Aug 2020 12:32:40 +0000 (+0200) Subject: Fixed misspelled words X-Git-Tag: v0.75.0~62 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ad01aea3f426206c2b70bbd97c5d29562dfe954d;p=brevno-suite%2Fhugo Fixed misspelled words --- diff --git a/hugolib/pages_capture.go b/hugolib/pages_capture.go index 020e243c..ddb4bc49 100644 --- a/hugolib/pages_capture.go +++ b/hugolib/pages_capture.go @@ -100,7 +100,7 @@ type pagesCollector struct { // That is, if a front matter cascade section is removed, added or edited. // If this is the case we must re-evaluate its descendants. func (c *pagesCollector) isCascadingEdit(dir contentDirKey) (bool, string) { - // This is eiter a section or a taxonomy node. Find it. + // This is either a section or a taxonomy node. Find it. prefix := cleanTreeKey(dir.dirname) section := "/" diff --git a/markup/asciidocext/convert_test.go b/markup/asciidocext/convert_test.go index dc9d76c0..22ac8e55 100644 --- a/markup/asciidocext/convert_test.go +++ b/markup/asciidocext/convert_test.go @@ -90,7 +90,7 @@ func TestAsciidoctorDisallowedArgs(t *testing.T) { cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "disallowed-backend" - mconf.AsciidocExt.Extensions = []string{"disallowed-extention"} + mconf.AsciidocExt.Extensions = []string{"disallowed-extension"} mconf.AsciidocExt.Attributes = map[string]string{"outdir": "disallowed-attribute"} mconf.AsciidocExt.SafeMode = "disallowed-safemode" mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel" diff --git a/markup/converter/hooks/hooks.go b/markup/converter/hooks/hooks.go index ab26a6f1..622d503e 100644 --- a/markup/converter/hooks/hooks.go +++ b/markup/converter/hooks/hooks.go @@ -49,7 +49,7 @@ type HeadingContext interface { // HeadingRenderer describes a uniquely identifiable rendering hook. type HeadingRenderer interface { - // Render writes the renderered content to w using the data in w. + // Render writes the rendered content to w using the data in w. RenderHeading(w io.Writer, ctx HeadingContext) error identity.Provider }