mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature/frontend] Add login button to index page which reiterates info about clients (#3377)
* Add login button to index page which reiterates info about clients * bit of CSS fiddling, move apps from front page to login info * fix indentation --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
@@ -60,7 +60,14 @@ func (m *Module) indexHandler(c *gin.Context) {
|
||||
Instance: instance,
|
||||
OGMeta: apiutil.OGBase(instance),
|
||||
Stylesheets: []string{cssAbout, cssIndex},
|
||||
Extra: map[string]any{"showStrap": true},
|
||||
Extra: map[string]any{
|
||||
// Render "home to x
|
||||
// users [etc]" strap.
|
||||
"showStrap": true,
|
||||
// Show "log in" button
|
||||
// in top-right corner.
|
||||
"showLoginButton": true,
|
||||
},
|
||||
}
|
||||
|
||||
apiutil.TemplateWebPage(c, page)
|
||||
|
Reference in New Issue
Block a user