Skip to content

feat(site): For Authors as a section-built journal page - #151

Draft
tefkah wants to merge 2 commits into
site-and-gatewayfrom
site-for-authors
Draft

tefkah wants to merge 2 commits into
site-and-gatewayfrom
site-for-authors

Conversation

@tefkah

@tefkah tefkah commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

The redesigned For Authors page, built from content instead of code. Content is in TrialAndErrorOrg/site-content#5 (pages/journal/for-authors.yaml).

  • Journal pages: site-content/pages/journal/<slug>.yaml is /journal/<slug>, under the journal menu and in its colours, and wins over the PubPub page or an article with that slug. /admin → Journal pages, with the live preview.
  • New section types, usable on any page: chooser (cards that each open a panel of text, numbered parts, cards, steps and "read more" boxes, every card linkable as #anchor), cards (Required / Recommended / Not needed badges and a key, several looks, tags, a column limit), steps (numbered, several routes become tabs), contents ("On this page").
  • Text sections can have buttons.
  • Without JavaScript every panel shows.

Merge this before the site-content PR: a page with the new section types fails the build of a site without them.

Checked locally against the site-content branch: astro check clean, the page and /, /about, /journal, /journal/editorial-board, /journal/issues render, clicking cards and tabs and opening #registered-report from a link work, /admin/preview draws journal pages under the journal menu and lists what's missing in a half-filled page. Not checked: a production build, the forms in Sveltia itself.

…ser, cards, steps and contents sections for them

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