Add page width customizability

This commit is contained in:
Svilen Markov committed 2024-08-04 23:40:58 +01:00
1 parent 233b905492
commit 3fea166274
5 files changed
+35 -3

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
</script>
{{ end }}
{{ define "document-root-attrs" }}{{ if .App.Config.Theme.Light }}class="light-scheme"{{ end }}{{ end }}
{{ define "document-root-attrs" }}class="{{ if .App.Config.Theme.Light }}light-scheme {{ end }}{{ if ne "" .Page.Width }}page-width-{{ .Page.Width }}{{ end }}"{{ end }}
{{ define "document-head-after" }}
{{ template "page-style-overrides.gotmpl" . }}
{{ if ne "" .App.Config.Theme.CustomCSSFile }}