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/about.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/web/about.go') diff --git a/internal/web/about.go b/internal/web/about.go index 843dda652..2bc558962 100644 --- a/internal/web/about.go +++ b/internal/web/about.go @@ -54,7 +54,7 @@ func (m *Module) aboutGETHandler(c *gin.Context) { Template: "about.tmpl", Instance: instance, OGMeta: apiutil.OGBase(instance), - Stylesheets: []string{cssAbout, instanceCustomCSSPath}, + Stylesheets: []string{cssAbout}, Extra: map[string]any{ "showStrap": true, "blocklistExposed": config.GetInstanceExposeSuspendedWeb(), -- cgit v1.2.3