Fixed inclusion of the stdLayoutSource

This commit is contained in:
Leon Mika 2026-02-08 10:44:35 +11:00
parent 1d52b0784c
commit b84425251a

View file

@ -82,10 +82,12 @@ func (pb PathBuilder) GoFiles(dir, templateFile string) Option {
sm.Pages = append(sm.Pages, sitePage{ sm.Pages = append(sm.Pages, sitePage{
Path: relPath, Path: relPath,
Source: mdTemplateSource{ Source: stdLayoutSource{
MainSource: mdTemplateSource{
Template: tmpl, Template: tmpl,
Data: goFileDoc, Data: goFileDoc,
}, },
},
}) })
} }
return nil return nil