diff --git a/main.go b/main.go index 96eba0f..473d5b5 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ func pageHandler(w http.ResponseWriter, r *http.Request) { filepath.Join("templates/layout.html"), filepath.Join("templates/header.html"), filepath.Join("templates/footer.html"), - filepath.Join("templates/"+path+".html"), + filepath.Join("pages/"+path+".html"), ) if err != nil { http.NotFound(w, r) diff --git a/templates/about.html b/pages/about.html similarity index 100% rename from templates/about.html rename to pages/about.html diff --git a/templates/home.html b/pages/home.html similarity index 100% rename from templates/home.html rename to pages/home.html