Menu + Template Seiten & Routes für Übersichten

This commit is contained in:
Simon Martens
2024-12-03 22:40:32 +01:00
parent 591b637652
commit 9f0440d827
11 changed files with 74 additions and 12 deletions

View File

@@ -163,6 +163,12 @@ func (s *Server) Start() {
srv.Get("/:year/:issue/:page?", controllers.GetIssue(s.kgpz))
srv.Get("/:year/:issue/beilage/:page?", controllers.GetIssue(s.kgpz))
srv.Get("/ort/:place?", controllers.GetPlace(s.kgpz))
srv.Get("/kategorie/:category?", controllers.GetCategory(s.kgpz))
srv.Get("/akteure/:letter?", controllers.GetAgents(s.kgpz))
srv.Get("/akteur/:agent", controllers.GetAgent(s.kgpz))
srv.Get("/edition/", controllers.Get("/edition/"))
srv.Get("/datenschutz/", controllers.Get("/datenschutz/"))
srv.Get("/kontakt/", controllers.Get("/kontakt/"))