diff --git a/cmd/server.go b/cmd/server.go index 9c30316..5173374 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -214,11 +214,11 @@ func RunServer() { e.GET("/", handleIndex) - e.GET("/a-propos", handleAPropos) + //e.GET("/a-propos", handleAPropos) - e.GET("/actualite", handleActualite) + //e.GET("/actualite", handleActualite) - e.GET("/actualite/:article", handleActualiteArticle) + //e.GET("/actualite/:article", handleActualiteArticle) e.GET("/vie-etudiante", handleVieEtudiante) @@ -254,18 +254,24 @@ func handleIndex(c echo.Context) error { return c.Render(http.StatusOK, "index-html", nil) } +/* func handleAPropos(c echo.Context) error { return c.Render(http.StatusOK, "a-propos-html", nil) } +*/ +/* func handleActualite(c echo.Context) error { return c.Render(http.StatusOK, "actualite-html", nil) } +*/ +/* func handleActualiteArticle(c echo.Context) error { article := c.Param("article") return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article)) } +*/ func handleVieEtudiante(c echo.Context) error { return c.Render(http.StatusOK, "vie-etudiante-html", nil) diff --git a/templates/html/header.gohtml b/templates/html/header.gohtml index 178ae4a..cfacdd2 100644 --- a/templates/html/header.gohtml +++ b/templates/html/header.gohtml @@ -2,9 +2,7 @@