diff --git a/config/about.template b/config/about_page.htmlbody.sample similarity index 100% rename from config/about.template rename to config/about_page.htmlbody.sample diff --git a/config/config-skeleton.json b/config/config.json.sample similarity index 100% rename from config/config-skeleton.json rename to config/config.json.sample diff --git a/handlers/about.go b/handlers/about.go index 856761b..47df6f6 100644 --- a/handlers/about.go +++ b/handlers/about.go @@ -14,9 +14,9 @@ func AboutHandler(app *App) http.HandlerFunc { loggedIn := session.Values["user_id"] != nil cookie, _ := r.Cookie("threadr_cookie_banner") - aboutContent, err := ioutil.ReadFile("config/about.template") + aboutContent, err := ioutil.ReadFile("config/about_page.htmlbody") if err != nil { - log.Printf("Error reading about.template: %v", err) + log.Printf("Error reading about_page.htmlbody: %v", err) http.Error(w, "Internal Server Error", http.StatusInternalServerError) return } @@ -43,4 +43,4 @@ func AboutHandler(app *App) http.HandlerFunc { return } } -} \ No newline at end of file +}