new: add feeds to news page

This commit is contained in:
ngn
2024-08-23 14:11:48 +03:00
parent 52af211541
commit 60bff6356c
15 changed files with 204 additions and 45 deletions

View File

@ -43,6 +43,9 @@ func main() {
app.Get("/download", routes.GET_Download)
app.Get("/news", routes.GET_News)
app.Get("/news/feed.atom", routes.GET_NewsFeed)
app.Get("/news/feed.rss", routes.GET_NewsFeed)
app.Get("/news/feed.json", routes.GET_NewsFeed)
app.Get("/news/:id", routes.GET_New)
app.Get("/wiki", routes.GET_Wiki)