mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fixed misspelled words
This commit is contained in:
parent
ec37420468
commit
ad01aea3f4
3 changed files with 3 additions and 3 deletions
|
@ -100,7 +100,7 @@ type pagesCollector struct {
|
||||||
// That is, if a front matter cascade section is removed, added or edited.
|
// That is, if a front matter cascade section is removed, added or edited.
|
||||||
// If this is the case we must re-evaluate its descendants.
|
// If this is the case we must re-evaluate its descendants.
|
||||||
func (c *pagesCollector) isCascadingEdit(dir contentDirKey) (bool, string) {
|
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)
|
prefix := cleanTreeKey(dir.dirname)
|
||||||
|
|
||||||
section := "/"
|
section := "/"
|
||||||
|
|
|
@ -90,7 +90,7 @@ func TestAsciidoctorDisallowedArgs(t *testing.T) {
|
||||||
cfg := viper.New()
|
cfg := viper.New()
|
||||||
mconf := markup_config.Default
|
mconf := markup_config.Default
|
||||||
mconf.AsciidocExt.Backend = "disallowed-backend"
|
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.Attributes = map[string]string{"outdir": "disallowed-attribute"}
|
||||||
mconf.AsciidocExt.SafeMode = "disallowed-safemode"
|
mconf.AsciidocExt.SafeMode = "disallowed-safemode"
|
||||||
mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel"
|
mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel"
|
||||||
|
|
|
@ -49,7 +49,7 @@ type HeadingContext interface {
|
||||||
|
|
||||||
// HeadingRenderer describes a uniquely identifiable rendering hook.
|
// HeadingRenderer describes a uniquely identifiable rendering hook.
|
||||||
type HeadingRenderer interface {
|
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
|
RenderHeading(w io.Writer, ctx HeadingContext) error
|
||||||
identity.Provider
|
identity.Provider
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue