diff options
| author | grm <grm@eyesin.space> | 2026-09-17 16:44:11 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-17 16:44:11 +0300 |
| commit | f79f97800f7f9ba1ef2b3e2e56040a952a9668a5 (patch) | |
| tree | f054c3b030911336e39c57a1498a272bb30d7bc0 /internal/web/templates/dashboard | |
| parent | d0601f06c080a8eb8d781fdd0e3338cd7ed42690 (diff) | |
| download | blogspace-f79f97800f7f9ba1ef2b3e2e56040a952a9668a5.tar.gz blogspace-f79f97800f7f9ba1ef2b3e2e56040a952a9668a5.tar.bz2 blogspace-f79f97800f7f9ba1ef2b3e2e56040a952a9668a5.zip | |
Let the header and footer follow the main column
With keep_columns and empty side columns the posts sit in a centred
column while the header and footer still run edge to edge, which reads as
two different pages stacked. The new switch insets their content by the
column widths (the backgrounds stay full width, phones are untouched) so
the whole page lines up as one column — the look a single-column site
expects, without bringing back a content max-width.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/templates/dashboard')
| -rw-r--r-- | internal/web/templates/dashboard/design.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/web/templates/dashboard/design.html b/internal/web/templates/dashboard/design.html index 71597e8..c22a35e 100644 --- a/internal/web/templates/dashboard/design.html +++ b/internal/web/templates/dashboard/design.html @@ -216,6 +216,7 @@ </div> <p class="muted small">{{t "Between 15% and 40% each; the main content takes the rest. A column only appears when it has at least one module; without columns the posts take the whole width. On phones the columns stack: main content first, then the left and right columns, then the footer."}}</p> <label class="check"><input type="checkbox" name="keep_columns"{{if $t.KeepColumns}} checked{{end}}> {{t "Always keep the columns' space, even when a column is empty or hidden"}} <span class="muted">({{t "the main content then keeps its width and stays centred"}})</span></label> + <label class="check"><input type="checkbox" name="align_to_main"{{if $t.AlignToMain}} checked{{end}}> {{t "Header and footer follow the main column"}} <span class="muted">({{t "their text lines up with the main content instead of the page edges; the backgrounds stay full width"}})</span></label> <h3>{{t "Left column"}}</h3> <label class="check"><input type="checkbox" name="left_on" data-area="left"{{if $t.LeftOn}} checked{{end}}> {{t "Show the left column"}}</label> {{template "arealist" (dict "area" "left" "root" . "hint" (t "A narrow column beside your posts. Good for the menu, an archive or recent posts."))}} |
