output=strings.ReplaceAll(output,"!TOPICTREFF",htmlElement("h3","Nächster Topictreff findet Heute statt!",""))
}elseifgetNextTopic().days==1{
output=strings.ReplaceAll(output,"!TOPICTREFF",htmlElement("h3","Nächster Topictreff findet Morgen statt!","class=\"topic\"")+htmlElement("p","Am "+getNextTopic().date,"class=\"topic\""))
}elseifgetNextTopic().days<10{
output=strings.ReplaceAll(output,"!TOPICTREFF",htmlElement("h3","Nächster Topictreff findet in "+strconv.FormatInt(int64(getNextTopic().days),10)+" Tagen statt!","class=\"topic\"")+htmlElement("p","Am "+getNextTopic().date,"class=\"topic\""))
}else{
output=strings.ReplaceAll(output,"!TOPICTREFF",htmlElement("h3","Nächster Topictreff findet in "+string(getNextTopic().days)+" Tagen statt!","class=\"topic\"")+htmlElement("p","Am "+getNextTopic().date,"class=\"topic\""))
}
events:=getEvents()
iflen(events)==0{
output=strings.ReplaceAll(output,"!EVENTS",htmlElement("h4","Keine Events in der nächsten Zeit.",""))
output=strings.ReplaceAll(output,"!NEXTEVENTS",htmlElement("h4","Keine Events in der nächsten Zeit.",""))