AdvancedHomepage

Home page sections

The sections between Latest stories and the membership band: the Topics section from your Topics page, and a tag section for every page tagged #home-section, with their order, their phone layout and how to remove one.

Every section below Latest stories is an ordinary Ghost page. Publish the page and the section appears; unpublish it and the section goes. Two kinds exist.

The Topics section

Four tiles, each a topic with its picture, its story count and its description, under the title and excerpt of the page slugged topics, with a Browse all topics link to the directory at /tags/.

Open the Topics page you created during Initial setup.

Under Tags, add up to four public tags in the order you want the tiles. Without tags, the four most-used topics show.

Give each of those tags a feature image and a description under Tags in Ghost Admin: a tag with a picture gets a photo tile, one without gets an outlined tile.

Update the page.

In the editor: the Topics page

The Topics page's settings panel, with the Page URL reading topics and four tags

On your homepage

The Topics section: four tiles

The Topics page also heads the directory at /tags/, so it does two jobs with one title and one excerpt.

Tag sections

A row of one topic's four newest stories, headed by the page's title (which links to the topic) and its excerpt, with a More link at the end of the heading row on wide screens.

Go to Pages → New page. Title it for the row, for example Founder stories, and write an Excerpt, for example How real businesses get started, told by the people who started them.

Under Tags, add the internal tag #home-section and exactly one public tag, the topic the row shows.

Publish. One page per row; as many rows as you like.

A section page exists for its row, not for readers: opened at its own address it renders as a plain page that asks search engines not to index it.

In the editor: a section page

A page's settings panel with #home-section and Founder Stories among its tags

On your homepage

A tag section: a heading, a line of introduction, four stories and a More link

A page with no public tag, or a topic with no stories yet, renders nothing, so a row never appears empty.

The order

Sections sit in the order of their pages' publish dates, newest first, the Topics section among them. To move a section up, republish its page with a later date (open the page's settings panel and change the publish date); to move it down, give it an earlier one.

On phones

Below 640 pixels each tag section becomes a swipeable rail of cards with Previous and Next buttons and a counter, ending on a card that opens the topic. The Topics section's tiles stack two across. From tablets up the grids return.

On a phone

A tag section on a phone, as a rail of cards with Previous and Next

Removing a section

  • A tag section: unpublish its page, or remove the #home-section tag.
  • The Topics section: it shares its page with the directory at /tags/, so unpublishing the page removes both. To keep the directory and hide the section, add [data-region="home-topics"] { display: none; } to Settings → Code injection → Site header, inside a <style> tag.