aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-13 00:45:06 +0300
committergrm <grm@eyesin.space>2026-09-13 00:45:06 +0300
commite671381121a63422f0cf4d5b0842f80109a12d20 (patch)
tree9c6d218ea58930fecdd9520beb48b5afad9642e1 /AGENTS.md
parentd11e4c9544f544b3a024c7ac705a674b4096cf50 (diff)
downloadblogspace-e671381121a63422f0cf4d5b0842f80109a12d20.tar.gz
blogspace-e671381121a63422f0cf4d5b0842f80109a12d20.tar.bz2
blogspace-e671381121a63422f0cf4d5b0842f80109a12d20.zip
Drop the content width option: the page is always full width
With the column grid, a centred max-width box meant the main content did not fill the page when no side columns were shown. The column percentages now divide the whole page; a blogger who wants a narrower, centred main column keeps the columns' space instead. 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.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 132e9c2..3a1da81 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -120,8 +120,10 @@ internal/web/ server.go (host router, middleware, render helpers)
index / recent posts when a visible module needs them. A side column is
laid out only when it has modules, or always with `theme.keep_columns`
(`HasLeft/HasRight` → `body.has-*`
- classes, which also lift the `.wrap` max-width so the page goes
- full-width; column widths in the theme CSS under `@media (min-width: 701px)`);
+ 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;
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