mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Use blurhashes in frontend, tidy up gallery view a bit (#3948)
* [feature] Use blurhashes in frontend, tidy up gallery view a bit * weeeeeeeeeeeeeeeee * beep boop
This commit is contained in:
@@ -146,7 +146,17 @@ func (m *Module) threadGETHandler(c *gin.Context) {
|
||||
Instance: instance,
|
||||
OGMeta: apiutil.OGBase(instance).WithStatus(context.Status),
|
||||
Stylesheets: stylesheets,
|
||||
Javascript: []string{jsFrontend},
|
||||
Javascript: []apiutil.JavascriptEntry{
|
||||
{
|
||||
Src: jsFrontend,
|
||||
Async: true,
|
||||
Defer: true,
|
||||
},
|
||||
{
|
||||
Bottom: true,
|
||||
Src: jsBlurhash,
|
||||
},
|
||||
},
|
||||
Extra: map[string]any{
|
||||
"context": context,
|
||||
},
|
||||
|
Reference in New Issue
Block a user