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