Fixed inclusion of the stdLayoutSource
This commit is contained in:
parent
1d52b0784c
commit
b84425251a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue