chore: formatting

This commit is contained in:
2026-05-05 16:08:59 +02:00
parent 5075044138
commit ca706d61cb

View File

@@ -41,7 +41,7 @@ func (h *Handler) HandleCatalog(w http.ResponseWriter, r *http.Request) {
}
user := middleware.GetUser(r.Context())
if err := templates.GetRenderer().ExecuteTemplate(r.Context(), w, "index.gohtml", map[string]any{
"User": user,
"CurrentPath": r.URL.Path,
@@ -89,7 +89,7 @@ func (h *Handler) renderCatalogSection(w http.ResponseWriter, r *http.Request, s
func (h *Handler) HandleDiscover(w http.ResponseWriter, r *http.Request) {
user := middleware.GetUser(r.Context())
if err := templates.GetRenderer().ExecuteTemplate(r.Context(), w, "discover.gohtml", map[string]any{
"User": user,
"CurrentPath": r.URL.Path,