From 683de5193680d4c8d9df2b273daa17b4c4f847d7 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Fri, 20 Aug 2021 14:51:43 -0300 Subject: fix a couple problems --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.go') diff --git a/client.go b/client.go index 09db0bf..8230765 100644 --- a/client.go +++ b/client.go @@ -156,7 +156,7 @@ func IndexGet(w http.ResponseWriter, r *http.Request, db *sql.DB) { func NewsGet(w http.ResponseWriter, r *http.Request, db *sql.DB, timestamp int) { t := template.Must(template.New("").Funcs(template.FuncMap{ - "sub": mod, + "sub": sub, "unixtoreadable": unixToReadable}).ParseFiles("./static/main.html", "./static/news.html")) actor := GetActorFromDB(db, Domain) -- cgit v1.2.3