- {{ .DisplayName }}'s cat!
-
-
-
-
-
-
- diff --git a/cmd/templates/index.tmpl b/cmd/templates/index.tmpl deleted file mode 100644 index b29c255..0000000 --- a/cmd/templates/index.tmpl +++ /dev/null @@ -1,226 +0,0 @@ - - -
- - -Welcome to CatsOfMastodonBotGo - The main project, writen in C# is available at that link - This is only my attempt to port it to Go for learning purposes
`)) +} diff --git a/internal/server/router.go b/internal/server/router.go index c4dfab4..0743a4d 100644 --- a/internal/server/router.go +++ b/internal/server/router.go @@ -11,7 +11,6 @@ import ( func SetupRouter(r *gin.Engine, appContext *internal.AppContext) *gin.Engine { - r.LoadHTMLGlob("templates/*") adminDashboardHandler := handlers_admin.NewAdminDashboardHandler(appContext) homePageHandler := handlers_home.NewMainPageHandler(appContext)