Skip to content

Site overhaul: section logos, front pages, journal masthead, events, editorial team, pages out of Strapi, /admin front door - #154

Draft
tefkah wants to merge 20 commits into
site-and-gatewayfrom
site-overhaul
Draft

tefkah wants to merge 20 commits into
site-and-gatewayfrom
site-overhaul

Conversation

@tefkah

@tefkah tefkah commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Feedback round of 2026-11-25 on the new site. Stacked on #151 (For Authors) and #152 (article page), and includes the fix from #153. Content goes with TrialAndErrorOrg/site-content site-overhaul. One commit per topic:

  • Header and footer: no more black block. The top left names the part of the site you're in (Center, Journal of, A Blog of Trial & Error) in its colour, with the other two parts' boxes peeking out behind it like the old sites' logos. The footer is light, in the section's colour.
  • One hero for all three: the Center, Journal and Blog front pages share the boxed title and the card beside it (SectionHero). The blog's is white boxes on orange, as on the old blog.
  • Blog front page: the featured post (or the newest) big, the latest four beside it, most read, then three posts from each category with its description. All posts move to /blog/page/1. Most read comes from Umami at build time (UMAMI_USERNAME, UMAMI_PASSWORD, read-only user) and falls back to a hand-picked list in Settings.
  • Substack: posts with a substack address end with a Discussion block: the comment count from Substack's public JSON and a link to join there. Not the comments themselves, which Substack's terms don't allow copying, and Substack sends no CORS headers or framable thread. Fails quietly to the link alone. The newsletter form can post to Substack.
  • Scholar: citation_issn and citation_publisher on articles, and citation_* only on blog posts that have a DOI.
  • Journal front page: the newest article big with its cover and five more beside it, the journal's numbers in the hero, a new article types section with counts, issues, and a call to publish.
  • Editorial board: a section that lists everyone in People with a journal role, grouped by role, so the board is edited in /admin → People.
  • PubPub addresses: /pub/<slug>, /pub/<slug>/release/<n>, /pub/<slug>/download/pdf and /collection/<slug> redirect for good (301) to the pages here (docs/deploying.md).
  • Events: a collection in /admin, /events with upcoming and past, one page per event with add-to-calendar and schema.org Event markup, a subscribable /events.ics, and an events section for pages. Upcoming events that end after the build hide themselves.
  • Announcement bar from Settings, with an end date.
  • Home: what we do first, as three coloured columns that link to the Journal, Blog and Events.
  • Underlay files: $asset references and /assets/ downloads (same as fix(site): article files after Underlay's $asset change #153).

Checked: astro check (0 errors), oxlint on changed files (one old warning), home, blog, journal, events and editorial board in dev at 1440 and 390 px, the admin config's fields parse, and a production build with Strapi pages stubbed out locally (the build needs STRAPI_TOKEN for /api/pages, unrelated to this). Not checked: the /admin forms for the new fields in Sveltia itself, and the newsletter form's post to Substack (not tried, so nobody gets signed up).

Not changed: /blog/author/* redirects are still prerendered, so they are meta refresh pages rather than 301s. Google treats an instant refresh as permanent, and Scholar doesn't index author pages.

Second round (Thomas's feedback, 2026-11-25)

  • Home is reachable: the logo always leads to the homepage. The tabs lead to each part's front page.
  • Colours: the Center on the full dark orange, the blog in black and white (black logo box and tab, grey footer).
  • Journal masthead: full journal blue, the name without boxes, and a panel with the editor-in-chief, publisher, ISSN, DOAJ (since 2025), licence and fees, plus the numbers.
  • Blog masthead: newspaper-like, black and white, with the categories as a row of sections that the category and archive pages share.
  • Featured issue: a section that highlights one issue with its articles (the health special issue on the journal page).
  • Editorial team: compact cards, and the editorial office (managing, production and copy editors) next to the board. New roles production-editor and copy-editor.
  • No pages from Strapi: Donate, Thank you, Legal status and Privacy are in site-content. Donate has a donate section (Stripe buy button and bank details) and a supporters section, from a new Supporters collection in /admin (funders, partners, donors). lib/sources/pages.ts and /preview/page/* are gone. The blog's Strapi source stays for now.
  • /admin front door: links into each part of the editor (now at /admin/content), the converter and the services around the site, the site's counts, and readers from GoatCounter for signed-in editors (/admin/overview.json, behind the gateway session). The sign-in session is shared with the converter (src/admin/session.ts). The footer links to it ("Editor sign-in").
  • GoatCounter replaces Umami: count.js from settings.analytics.goatcounter, GOATCOUNTER_TOKEN for the API (blog "most read" at build, /admin on request with a 10-minute cache). Off until the instance runs (docs/deploying.md §GoatCounter). Tested against a fake GoatCounter with the dev sign-in.

tefkah added 20 commits November 2, 2026 15:06
…ser, cards, steps and contents sections for them
…eader, and the take-home message and purpose beside the text
… (Center, Journal, Blog) in stacked boxes, light footer instead of black
…ad (Umami, or a hand-picked list) and each category; all posts at /blog/page/1; Substack discussion under posts
…ypes with counts, the journal's numbers in the hero; shared hero for Center, Journal and Blog
…irect for good to the articles and issues here
…org markup, an events section for pages) and an announcement bar from Settings
…'s terms), citation_issn and citation_publisher on articles, citation tags only on blog posts with a DOI
…e blog in black and white with a newspaper masthead and its categories as sections; the journal's masthead on full blue with its editor-in-chief, publisher, ISSN, DOAJ, licence and fees
…ng, production and copy editors), in compact cards
… Privacy come from site-content; donate section (Stripe button, bank details) and supporters (funders, partners, donors) edited in /admin
…, the converter and the services around the site, and readers from GoatCounter for signed-in editors; the editor moves to /admin/content; GoatCounter replaces Umami; editor sign-in link in the footer
@tefkah tefkah changed the title Site overhaul: section logos, blog and journal front pages, events, editorial board, PubPub redirects Site overhaul: section logos, front pages, journal masthead, events, editorial team, pages out of Strapi, /admin front door Nov 25, 2026

This branch has not been deployed

No deployments
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