Skip to content

Educators' Corner and Pedagogies: author portraits, wide figures and a plain editor's note - #1243

Merged
LukasWallrich merged 19 commits into
rebrand-doorsfrom
hc/articles2
Dec 3, 2026
Merged

LukasWallrich merged 19 commits into
rebrand-doorsfrom
hc/articles2

Conversation

@LukasWallrich

@LukasWallrich LukasWallrich commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Educators' Corner and Pedagogies articles show each picture once, with the educator's portrait at the top. News and newsletter posts do not change, apart from the stray space before links.

Educators' Corner and Pedagogies articles.

  • An article whose header picture repeats a figure in its text shows it once, in the text: the iceberg in 001, the ecological-systems diagram in 011.
  • A single author's portrait is large in the side card. On phones, in Educators' Corner, it sits in a pale-green band under the title, with name, links and date, in place of the card at the end.
  • A paragraph of nothing but pictures becomes a figure. A pair sits side by side at one height, and on wide screens a figure runs past the text into the empty band on its right. A picture larger than it is shown links to its full size.
  • The editor's note has a bold label and body-weight text under a short green rule. Before, the whole note was bold.

Everywhere. Markdown links no longer start with a stray space. The theme's link hook left a line break before every link, which showed as "( like the example…" wherever a link followed a bracket or quote.

Where this stands

Lukas decided on 3 December: newsletter posts stay as they are; the repeated opening pictures of 001 and 011 go; pictures may be wider on large screens, but the tweet screenshot in 016 stays at text width (text_width_figures in its front matter); the author card moves to the top on phones for Educators' Corner only; short openings stay body text.

Before and after

Taken on 3 December 2026: "before" is the live preview of rebrand-doors at b394e7c4c5, "after" is a local build of f31c7cb18d with that base merged in; since then 001 no longer sets its first paragraph larger.

Corner article opening, 1440 px

Before After
Corner article opening, 1440 px, before Corner article opening, 1440 px, after

Corner article opening, 390 px

Before After
Corner article opening, 390 px, before Corner article opening, 390 px, after

Corner figures, 1440 px

Before After
Corner figures, 1440 px, before Corner figures, 1440 px, after

Editor's note, 1440 px

Before After
Editor's note, 1440 px, before Editor's note, 1440 px, after

Editor's note, 390 px

Before After
Editor's note, 390 px, before Editor's note, 390 px, after

Decisions to review

  • image.preview_only: true on Corner 001 and 011. The template already honours this flag, and 002, 023 and 024 already set it. The featured picture stays on the Educators' Corner list and in social previews (og:image is unchanged). No author wording changed.
  • Figures break out to the right on screens 1241 px and wider. This applies on any reading-layout article with a side card. Text stays at its 80-character measure. Between 1001 and 1240 px, and on phones, figures keep to the text width.
  • Phones lose the end card on single-author Educators' Corner articles. The band under the title carries the same photo, name, links and date.
  • The final judge, Claude Fable 5.2, still rated the Corner essay "boring" after four rounds. Each remaining suggestion needs a content decision, which is yours:
    • Add the essay's slides (https://osf.io/597ut/) as a "Slides" material brick under the subtitle, as Pedagogies articles do. That would mean a links: entry and template support for Corner.
    • Use a closer portrait of Heather Urry. Her profile photo is a full-length beach shot, so the face is tiny in any crop.
    • Add captions crediting Picture a Scientist to the two stills.

Checks

  • python3 scripts/rebrand/check_design.py <build> on the final build: no failures on any article page. It still reports /neurodiversity-lessonbank/implicit_bias/, which this PR does not touch: an image 121 px too wide at 390 px, and red text at 3.92:1 contrast. Both were there before these template changes.
  • python3 scripts/check_seo_html.py <build>: passes.
  • python3 -m unittest discover -s scripts/tests: 179 tests, OK.
  • python3 scripts/rebrand/check_source_rules.py --base origin/rebrand-doors: 0 hard-coded URLs, 0 generated paths changed.
  • 200% text on the Corner page at 390 and 1024 px: no sideways scroll.
  • Screenshots at 390 and 1440 px of 001 and of Corner 007, Pedagogies 001 and the chatbot news post. Four rounds were judged by Claude Fable 5.2.

🤖 Generated with Claude Code

…raits and wide figures

Newsletter posts: the issue is one large crenellated brick in its year's colour,
holding the title, summary, "Read the full issue", send date and copy link. Beside
it (below on phones) the issues around it, by year and month, oldest first, with
this one marked. The author panel and the four issue covers at the end are gone.

Educators' Corner and Pedagogies: an article whose header picture repeats a body
figure (001, 011, 016) shows it once, in the text. A lone author's portrait is
large in the side card, and on phones a pale-green band under the title holds
photo, name, links and date in place of the card at the end. A paragraph of only
pictures becomes a figure: a pair side by side at one height, running past the
text on wide screens, each larger than shown linking to its full size. The
editor's note has a bold label and body-weight text under a short rule. A short
opening paragraph of a Corner essay is set a step larger.

Site-wide: markdown links no longer start with a stray space (the theme's link
hook left a line break before each, splitting "(" from its link). Removes the
resource rules in article.css that #1239 left unused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasWallrich
LukasWallrich requested a review from a team as a code owner November 20, 2026 00:45
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

👍 All image files/references (if any) are in webp format, in line with our policy.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 12 changed file(s)! 🎉

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 9 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread layouts/partials/article_header.html Resolved
Comment thread layouts/partials/reading.html Resolved
LukasWallrich and others added 2 commits November 20, 2026 00:56
…phone band, forrt.org links stay in the tab

- A credited name that is not its profile's folder ("Patrick Forscher" at
  patrick-s-forscher, "Dr. Thomas Rhys Evans") now finds the profile, by title
  or by the profile's own name (doors/author_profile), for the byline, the side
  card and author links.
- The phone band of a single-author education article carries the card's role
  and bio, since the card is left out there.
- Markdown links to forrt.org (with or without www.) no longer open a new tab;
  other sites still do (site.Params.doors.host, as in booklet_contents).
- A newsletter title without " — " no longer fails to build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…efore a link

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 9 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/rebrand/allowed_changes.txt Resolved
… is unchanged

compare_builds.py treats description, og:description and twitter:description as
unchanged when they differ only by spaces just inside an opening bracket or quote
("( https://…" to "(https://…"), and, for a cut description, by the cut then
falling a word or two later. Every other tag and any other description change
still compare exactly. This replaces the 17 page-wide entries in
allowed_changes.txt, which skipped every SEO tag on those pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/rebrand/compare_builds.py Resolved
…ly when a bracket space was removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
article.css: both sides appended rules at the end; both kept. render-link.html: this PR's hook, which already trims the whitespace main's #1131 removed and keeps forrt.org links in the same tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

👍 All content rules passed (WebP images/references and canonical doi.org links).

LukasWallrich and others added 2 commits December 2, 2026 23:49
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread assets/css/doors/article.css Resolved
LukasWallrich and others added 6 commits December 3, 2026 00:05
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The picture in the text of 016 is not the header's logo, so the header keeps it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasWallrich LukasWallrich changed the title Articles: a newsletter issue as its own brick; Educators' Corner portraits, wide figures and a plain editor's note Educators' Corner and Pedagogies: author portraits, wide figures and a plain editor's note Dec 3, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 4 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread layouts/partials/reading.html Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread layouts/partials/reading.html Resolved
@LukasWallrich
LukasWallrich merged commit 749d90b into rebrand-doors Dec 3, 2026
14 checks passed
@LukasWallrich
LukasWallrich deleted the hc/articles2 branch December 3, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant