From b84425251a34a5114822e652fafbb85757d1e9b7 Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Sun, 8 Feb 2026 10:44:35 +1100 Subject: [PATCH] Fixed inclusion of the stdLayoutSource --- pathbuilder.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pathbuilder.go b/pathbuilder.go index cbbfdad..c871c2a 100644 --- a/pathbuilder.go +++ b/pathbuilder.go @@ -82,9 +82,11 @@ func (pb PathBuilder) GoFiles(dir, templateFile string) Option { sm.Pages = append(sm.Pages, sitePage{ Path: relPath, - Source: mdTemplateSource{ - Template: tmpl, - Data: goFileDoc, + Source: stdLayoutSource{ + MainSource: mdTemplateSource{ + Template: tmpl, + Data: goFileDoc, + }, }, }) }