diff --git a/internal/web/index.go b/internal/web/index.go index 0db8f5153..2c24e0dae 100644 --- a/internal/web/index.go +++ b/internal/web/index.go @@ -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) diff --git a/web/template/page.tmpl b/web/template/page.tmpl index d2edc5277..06c20b04b 100644 --- a/web/template/page.tmpl +++ b/web/template/page.tmpl @@ -22,7 +22,7 @@ If some if/else macro is used multiple times, declare it once here instead. When invoking these nested templates, remember to pass in the values passed to the executing template, ie., use '{{ template "example" . }}' not - '{{ template "example" }}', otherwise you'll end up with empty variables. +'{{ template "example" }}', otherwise you'll end up with empty variables. */ -}} {{- define "thumbnailType" -}} @@ -43,43 +43,47 @@ image/webp -
- - - - - {{- if .ogMeta }} - {{- include "page_ogmeta.tmpl" . | indent 2 }} - {{- else }} - {{- end }} - {{- if .rssFeed }} - - {{- else }} - {{- end }} - {{- if .account }} - - {{- else if .status }} - - {{- else }} - {{- end }} - - - - {{- include "page_stylesheets.tmpl" . | indent 2 }} - {{- range .javascript }} - - {{- end }} -