diff --git a/html.go b/html.go index 0f1d50e..6ee2459 100644 --- a/html.go +++ b/html.go @@ -80,7 +80,7 @@ func htmlReplacer(input string, activePage string) string { tempA = htmlElement("p", htmlClean(Event.date), "class=\"date\"") tempA += htmlElement("h2", htmlClean(Event.title), "class=\"title\"") tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"") - tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"") + tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "/event/"+strconv.Itoa(Event.id), false, "class=\"event\"") tempB += "!SPLIT" } output = strings.ReplaceAll(output, "!EVENTS", htmlElement("div", strings.ReplaceAll(tempB, "!SPLIT", ""), "class=\"eventList\""))