all repos — homestead @ f7b3cf7259a307e542dc46554b6f953746b68f99

Code for my website

fix missing static files

Alan Pearce
commit

f7b3cf7259a307e542dc46554b6f953746b68f99

parent

5ce60eee31c403537efd6ddb20308a3652a928b2

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M internal/builder/builder.gointernal/builder/builder.go
@@ -88,6 +88,11 @@ r := &Result{
Hashes: make([]string, 0), } + err := copyRecursive(storage, joinSource("static")) + if err != nil { + return nil, errors.WithMessage(err, "could not copy static files") + } + log.Debug("reading posts", "source", options.Source) posts, tags, err := content.ReadPosts(&content.Config{ Root: options.Source,