Headings
The headings of the front page come from two places:
- Your content. Some sections take their heading from a tag or a page. You rename these in Ghost Admin.
- The theme's translation file. The other headings are fixed text. You rename these by editing a file in the theme.
Headings You Rename in Ghost Admin#
| Section | Heading comes from | Where to change it |
|---|---|---|
| Masthead | Your site title | ⛭ Settings → General |
| Hero | The title of the page with the slug home-hero | Pages |
| Each desk | The tag's name and description | ⛭ Settings → Tags |
| By the numbers | The title of the page with the slug numbers | Pages |
| The newsletter | The description of your first newsletter | ⛭ Settings → Newsletters |
| Opinion | The name and description of the tag with the slug opinion | ⛭ Settings → Tags |
| The week ahead | The title of the page with the slug agenda | Pages |
| Membership | The title and excerpt of the page with the slug membership | Pages |
Headings in the Translation File#
| Section | Text in the file |
|---|---|
| The wire | % stories since {time}., The latest stories. |
| Markets | Markets |
| Top stories | % more that matter today. Picked by the editors at {time}., More that matter. Picked by the editors. |
| Most read | Worth your time. Picked by the newsroom. |
| Newsroom | Who files {site}. % people on the masthead. |
| Membership | Read without limits., shown when there is no membership page |
| Topics | Every desk, one click away. % topics. |
% stands for a number, and {time} and {site} for the time and your site title. Keep them in place when you edit a line. A heading with a number has a second line for one, such as One story since {time}.
Which File to Edit#
Morrow ships translation files for English, German, Spanish, French and Portuguese in the locales folder. Ghost uses the one that matches the publication language set in ⛭ Settings → General. For an English site, edit locales/en.json.
Each line pairs the original text, on the left, with the text shown on the site, on the right:
"The latest stories.": "The latest stories.",
Change only the text on the right:
"The latest stories.": "Just in.",
Never change the text on the left. The theme looks the line up by it, and a changed left side brings back the original heading.
Step-by-Step#
- Open the theme folder on your computer
- Open the translation file for your site's language, for example
locales/en.json - Search for the heading as it appears on the site
- Change the text on the right of the colon
- Save the file
- Zip the theme folder again
- Upload the zip in ⛭ Settings → Design → Change theme
- Reload the front page and check the new heading
Notes#
- One line can be used in several places.
Marketsis also the label of the header quotes for screen readers. - Updating the theme replaces the translation file. Keep a note of the headings you changed and make the edits again after each update. See Update Guide.