fehlerbehebung

This commit is contained in:
xoy 2023-01-29 20:23:02 +01:00
parent 7da8af13fd
commit 00b78fcde1
1 changed files with 1 additions and 1 deletions

View File

@ -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\""))