diff --git a/AGENTS.md b/AGENTS.md index c05f79e..dab4977 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -93,7 +93,7 @@ To add something, copy the front matter of an existing file of the same kind. Th The navigation is in `_layouts/default.html`. Styles go in `assets/main.scss`, which defines the Sass variables in README's "Brand Colours", or in a partial in `assets/sass/` that it loads with `@use`. A partial can't see those variables (the build fails with "Undefined variable"), so use the `--qe-*` custom properties that `main.scss` sets on `:root`, such as `var(--qe-blue)`, as `_about.scss` does. -`_layouts/default.html` adds a `js` class to `` before first paint. Style states that need JavaScript, such as a collapsed list, under `.js`, and hide controls that need it under `html:not(.js)`: nothing then moves when scripts run, and without JavaScript everything shows. Have the script remove the class if it fails, or what it collapsed stays hidden. The `/activity/` filter and its "N changes" lists work this way. +`_layouts/default.html` adds a `js` class to `` before first paint. Style states that need JavaScript, such as a collapsed list, under `.js`, and hide controls that need it under `html:not(.js)`: nothing then moves when scripts run, and without JavaScript everything shows. Have the script remove the class if it fails, or what it collapsed stays hidden. The `/activity/` filter and its "N changes" lists, and the `/news/` rail's filter and panel, work this way. ### News and Activity diff --git a/README.md b/README.md index e6a9bbf..65ced05 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The site has two streams of updates. The rule of thumb: **people write News, the **Promotion is a human decision.** When a release or a batch of lecture changes deserves wider attention, someone writes a News post that links to it. -These definitions decide which stream an item belongs to, not where it is shown. News posts are stored in `_posts/` and Activity entries in `_data/activity/` (schema below). Which pages display each stream is a design choice: today News appears on `/news/`, the home page and `feed.xml`, and Activity on `/activity/`. +These definitions decide which stream an item belongs to, not where it is shown. News posts are stored in `_posts/` and Activity entries in `_data/activity/` (schema below). Which pages display each stream is a design choice: today News appears on `/news/`, the home page and `feed.xml`, and Activity on `/activity/` and beside News on `/news/`. ### Activity data diff --git a/_layouts/news.html b/_layouts/news.html index eb88252..c711e87 100755 --- a/_layouts/news.html +++ b/_layouts/news.html @@ -1,8 +1,80 @@ --- layout: default --- +{% comment %} + /news/: the News h1, then the Activity rail and the news. At 1200px and wider they sit in a + grid with the rail in the right column; below that the rail is a panel above the news. The + rail's