aboutsummaryrefslogtreecommitdiffhomepage
path: root/create
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2024-10-15 10:05:06 -0700
committerBjørn Erik Pedersen <[email protected]>2024-10-15 21:37:26 +0200
commitb1b3bbcdbd585cdac67c1d8fca4c98be11e086d6 (patch)
tree44f0f72764b76e76d8f22e2a76965e003f43861f /create
parent1cfe9741b93cb7db175c0a6cc094400f638db4ab (diff)
downloadhugo-b1b3bbcdbd585cdac67c1d8fca4c98be11e086d6.tar.gz
hugo-b1b3bbcdbd585cdac67c1d8fca4c98be11e086d6.zip
create/skeletons: Add delimiters to archetype front matter
Fixes #12945
Diffstat (limited to 'create')
-rw-r--r--create/skeletons/skeletons.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/create/skeletons/skeletons.go b/create/skeletons/skeletons.go
index 802b15fb0..54b669522 100644
--- a/create/skeletons/skeletons.go
+++ b/create/skeletons/skeletons.go
@@ -123,7 +123,7 @@ func newSiteCreateArchetype(fs afero.Fs, createpath string, format string) (err
}
var buf bytes.Buffer
- err = parser.InterfaceToConfig(in, metadecoders.FormatFromString(format), &buf)
+ err = parser.InterfaceToFrontMatter(in, metadecoders.FormatFromString(format), &buf)
if err != nil {
return err
}