From f78002f915eeaaf455873106b289c96b8c4afb5d Mon Sep 17 00:00:00 2001 From: CDN Date: Wed, 18 Dec 2024 17:47:17 +0800 Subject: [bugfix] Load instance-wide custom css in page stylesheets template (#3601) * [bugfix] Load instance-wide custom css in page stylesheets template * [chore] remove redunt import --- internal/web/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/web/index.go') diff --git a/internal/web/index.go b/internal/web/index.go index dd9d80561..25960cf7f 100644 --- a/internal/web/index.go +++ b/internal/web/index.go @@ -59,7 +59,7 @@ func (m *Module) indexHandler(c *gin.Context) { Template: "index.tmpl", Instance: instance, OGMeta: apiutil.OGBase(instance), - Stylesheets: []string{cssAbout, cssIndex, instanceCustomCSSPath}, + Stylesheets: []string{cssAbout, cssIndex}, Extra: map[string]any{"showStrap": true}, } -- cgit v1.2.3