diff --git a/src/pages.go b/src/pages.go index 0efdad0..0b464a7 100644 --- a/src/pages.go +++ b/src/pages.go @@ -202,7 +202,7 @@ func getPage(w http.ResponseWriter, r *http.Request) error { // see https://web.dev/articles/stale-while-revalidate for details // http.ServeContent handles content type and caching - http.ServeContent(w, r, sitePath, mtime, reader) + http.ServeContent(w, r, entryPath, mtime, reader) } return nil }