Add frontpage

This commit is contained in:
video-prize-ranch
2022-01-17 19:07:07 -05:00
parent 326ef86415
commit a737f5a773
5 changed files with 76 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ func main() {
Root: http.FS(static.GetFiles()),
}))
app.Get("/", pages.FrontpageHandler)
app.Get("/:baseName.:extension", pages.HandleMedia)
app.Get("/a/:albumID", pages.HandleAlbum)
app.Get("/t/:tagID", pages.HandleAlbum)