flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit c7d2aca283929b5d18a22074b0542ca7cf4f622a
parent cb23e53f2726985ddb5ff7d839c743ac9c31e19f
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Fri,  8 Jan 2021 00:39:05 -0800

fix

Diffstat:
Mhttp.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/http.go b/http.go @@ -35,7 +35,7 @@ func renderError(w http.ResponseWriter, errorMsg string, statusCode int) { ErrorMsg string Config Config }{statusCode, errorMsg, c} - err := t.ExecuteTemplate(w, "error.html", c) + err := t.ExecuteTemplate(w, "error.html", data) if err != nil { // Shouldn't happen probably http.Error(w, errorMsg, statusCode) }