summaryrefslogtreecommitdiff
path: root/internal/web/index.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/index.go')
-rw-r--r--internal/web/index.go9
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)