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 /AGENTS.md | |
| 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 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -211,7 +211,9 @@ internal/web/ server.go (host router, middleware, render helpers) classes; column widths in the theme CSS under `@media (min-width: 701px)`). The page is always full width — there is no content max-width; the column percentages divide the page and `keep_columns` is how a blogger - gets a narrower, centred main column; + gets a narrower, centred main column, with `align_to_main` insetting the + header's and footer's `.wrap`s by the column widths (`calc(1em + N%)`, + wide screens only, backgrounds untouched) so they line up with it; below 700px `.cols` becomes block flow so the order is main → left → right → footer. Everything is rendered by the `module` template in `layouts/blog.html`. New blogs get `insertDefaultModules` (title + menu |
