aboutsummaryrefslogtreecommitdiffhomepage
path: root/create
diff options
context:
space:
mode:
authorCathrine Paulsen <[email protected]>2022-03-10 14:10:21 +0100
committerBjørn Erik Pedersen <[email protected]>2022-03-14 19:39:07 +0100
commit61cf3c9f6386d06c18c663195b35c4152605c398 (patch)
tree5e4872e6da7f6e03a4b9e71451d7ac49404f670a /create
parent31fbc081c98d55a6e4b9da38c2ff29777da0b0c0 (diff)
downloadhugo-61cf3c9f6386d06c18c663195b35c4152605c398.tar.gz
hugo-61cf3c9f6386d06c18c663195b35c4152605c398.zip
Fix and refactor typos
Diffstat (limited to 'create')
-rw-r--r--create/content.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/create/content.go b/create/content.go
index 400cff341..ad375b8c5 100644
--- a/create/content.go
+++ b/create/content.go
@@ -283,10 +283,10 @@ func (b *contentBuilder) applyArcheType(contentFilename, archetypeFilename strin
defer f.Close()
if archetypeFilename == "" {
- return b.cf.AppplyArchetypeTemplate(f, p, b.kind, DefaultArchetypeTemplateTemplate)
+ return b.cf.ApplyArchetypeTemplate(f, p, b.kind, DefaultArchetypeTemplateTemplate)
}
- return b.cf.AppplyArchetypeFilename(f, p, b.kind, archetypeFilename)
+ return b.cf.ApplyArchetypeFilename(f, p, b.kind, archetypeFilename)
}