diff options
author | 2025-01-27 05:24:31 -0800 | |
---|---|---|
committer | 2025-01-27 14:24:31 +0100 | |
commit | 7b7fc528f14588b2a7b9dffd0ef75c1c466accd6 (patch) | |
tree | b77d44d1d7602d46d362b1da209cc283e345b6ca /internal/web/index.go | |
parent | [bugfix] Fix top-level posts with a mention being counted as replies when doi... (diff) | |
download | gotosocial-7b7fc528f14588b2a7b9dffd0ef75c1c466accd6.tar.xz |
[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>
Diffstat (limited to 'internal/web/index.go')
-rw-r--r-- | internal/web/index.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/web/index.go b/internal/web/index.go index 25960cf7f..02ce30138 100644 --- a/internal/web/index.go +++ b/internal/web/index.go @@ -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) |