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{
Path: relPath,
Source: mdTemplateSource{
Source: stdLayoutSource{
MainSource: mdTemplateSource{
Template: tmpl,
Data: goFileDoc,
},
},
})
}
return nil