diff options
author | Alan Pearce | 2024-06-24 21:28:43 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-24 21:28:43 +0200 |
commit | 8623948592fa14958d340b006653fc57861c4fc4 (patch) | |
tree | c4a9d3acaad6b7df41188941216aaa2456c1a538 /internal | |
parent | 33fd68ade81137e69d0f50635075456b02a99fbc (diff) | |
download | website-8623948592fa14958d340b006653fc57861c4fc4.tar.lz website-8623948592fa14958d340b006653fc57861c4fc4.tar.zst website-8623948592fa14958d340b006653fc57861c4fc4.zip |
move 404.html back to private directory
Diffstat (limited to 'internal')
-rw-r--r-- | internal/builder/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/builder/builder.go b/internal/builder/builder.go index f3e61dc..20714b9 100644 --- a/internal/builder/builder.go +++ b/internal/builder/builder.go @@ -226,7 +226,7 @@ func build(outDir string, config config.Config) (*Result, error) { r.Hashes = append(r.Hashes, h) log.Debug("rendering 404 page") - if err := renderToFile(notFound(config, "/404.html"), publicDir, "404.html"); err != nil { + if err := renderToFile(notFound(config, "/404.html"), privateDir, "404.html"); err != nil { return nil, err } |