mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-28 22:13:32 -06:00
refactor/split css, templates
This commit is contained in:
parent
6aa580a470
commit
70342681c1
54 changed files with 1371 additions and 1600 deletions
|
|
@ -59,6 +59,7 @@ func (m *Module) aboutGETHandler(c *gin.Context) {
|
|||
"showStrap": true,
|
||||
"blocklistExposed": config.GetInstanceExposeSuspendedWeb(),
|
||||
"languages": config.GetInstanceLanguages().DisplayStrs(),
|
||||
"pageType": "with-sidebar",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ func (m *Module) indexHandler(c *gin.Context) {
|
|||
Instance: instance,
|
||||
OGMeta: apiutil.OGBase(instance),
|
||||
Stylesheets: []string{},
|
||||
Extra: map[string]any{"showStrap": true},
|
||||
Extra: map[string]any{"showStrap": true, "largeHeader": true},
|
||||
}
|
||||
|
||||
apiutil.TemplateWebPage(c, page)
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@ func (m *Module) profileGETHandler(c *gin.Context) {
|
|||
Javascript: []string{jsFrontend},
|
||||
Extra: map[string]any{
|
||||
"account": targetAccount,
|
||||
"pageType": "wider",
|
||||
"rssFeed": rssFeed,
|
||||
"robotsMeta": robotsMeta,
|
||||
"statuses": statusResp.Items,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue