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,9 +82,11 @@ 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{
Template: tmpl, MainSource: mdTemplateSource{
Data: goFileDoc, Template: tmpl,
Data: goFileDoc,
},
}, },
}) })
} }