Advanced

Reading experience

What surrounds an article in Ventura: the table of contents, the reading progress bar, the text size control, the share row and comment count, code blocks, the lightbox, previous and next stories, related stories, and what changes without JavaScript.

A post is the article and a set of companions around it. Most are automatic; two have a setting (Post settings) and three can be switched off for one post with an internal tag (Editorial conventions).

The table of contents

A post with two or more headings gets an "On this page" list of them. On wide screens (from 1280 pixels) it sits in the margin beside the article, follows the reader down the page and highlights the section they are in; where a wide picture or gallery crosses it, it fades back until the pointer returns. On narrower screens it is a closed "On this page" box under the feature image.

On a computer

The table of contents beside a long post

On a phone

The On this page box under the picture on a phone

Switch it off for every post under Show table of contents, or for one post with #disable-toc. A tap on an entry lands the heading just under the menu row.

Reading progress

A thin line in the accent colour at the very top of the page fills as the reader moves through the article. The browser draws it from the scroll position itself, so it costs nothing per frame, and it still follows the reader when they have asked for reduced motion.

Text size

The text size control open, with Small, Default and Large

The Aa button in the byline offers Small, Default and Large for the article text. The choice is kept in the reader's browser, applies to pages as well as posts, and is in place before the page paints, so there is no flash of the default size. Cards and menus keep their size whatever the reader picks.

The share row and the comment count

The byline with the share row

The byline ends with the controls: Share, which opens Ghost's own share menu (the networks and the system share sheet where the device has one), Copy link, the Summarize with AI menu on public posts (Summarize with AI), the text size control and the bookmark. The byline also shows how many comments the story has and jumps to them.

Memberships off

Ghost's share menu belongs to Portal, which loads only with memberships on. A site without memberships gets X and LinkedIn buttons in its place, and Copy link stays.

Comments

With commenting on under Settings → Membership → Commenting, the thread sits at the end of the post and loads when the reader reaches it rather than with the page. It follows the site's colour scheme, dark included.

Code blocks

A code block with its copy button and highlighting

Every code block gets a Copy button in its corner, and a code card with a language set in the editor gets colour-coded syntax. The highlighter is fetched only when a code block nears the viewport, so pages without code never load it.

Pictures and galleries

A picture open in the lightbox

Image and gallery cards open in a full-screen viewer on a click or a tap: arrows and swipes move through a gallery, Esc closes it and focus returns to the picture. A picture you linked somewhere else keeps its link and opens that instead. The viewer's code is fetched only on a page that has a picture.

Previous and next

Previous and next stories under a post

Under the post, the stories published before and after it, each with its topic, title and a short excerpt. A post with no neighbour on one side shows the other alone; #disable-post-nav drops the band for one post.

Related stories after a post

Four more stories from the post's topic (its primary tag), or the latest stories when the topic has nothing else. Switch it off for every post under Show related posts, or for one post with #disable-related.

Members-only posts

A restricted story shows its free part, then the paywall box with the copy and buttons for its case. See Membership.

With JavaScript switched off

Reading needs no JavaScript. Without it the table of contents and the lightbox are not shown and the comment thread cannot load, since Ghost's comments are a script of their own. Copy link, the text size control and the bookmark button stay on the page but do nothing. The reading progress bar still draws in browsers that animate from scroll position, and the share links, the Summarize with AI rows, previous and next, related stories and every other link work as they are.