all repos — homestead @ acb17eefc62414e4c1cd6061e0293873a1a9c13c

Code for my website

enable configuration of static files to be copied

Alan Pearce
commit

acb17eefc62414e4c1cd6061e0293873a1a9c13c

parent

8efa0c0335cf673ce530785591f22d5f5ab5259d

1 file changed, 4 insertions(+), 3 deletions(-)

changed files
M domain/content/builder/builder.godomain/content/builder/builder.go
@@ -84,9 +84,10 @@ }
log.Debug("reading posts", "source", options.Source) cc, err := content.NewContentCollection(&content.Config{ - Root: options.Source, - PostDir: postDir, - Repo: options.Repo, + Root: options.Source, + PostDir: postDir, + Repo: options.Repo, + StaticFiles: config.StaticFiles, }, log.Named("content")) if err != nil { return fault.Wrap(err)