How to install, set up and customize the Auden Ghost theme, from its design settings to theme development.
Install the theme
To upload the theme:
- Log in to Ghost Admin at
yoursite.com/ghost/. - Open Settings › Site › Theme (set your Ghost site URL to open it in your Ghost Admin) and choose Change theme.
- Choose Upload theme and select
auden.zip, the file you downloaded. If a theme with the same name is installed, Ghost asks whether to overwrite it: choose Overwrite to update it and keep its design settings. - When the upload is done, choose Activate theme in the Upload successful dialog.
Ghost checks the theme with GScan when you upload it and lists any problems. The full walkthrough, with what to check when something goes wrong, is in How to install a theme in Ghost.
Upload routes.yaml
Caution
The theme’s routes.yaml file is inside the theme’s zip, and shown below. When it has more than Ghost’s default routes (the / collection and the tag and author pages), the theme needs it: upload it, or the theme’s extra collections and pages won’t work. Uploading it replaces the site’s routes, so add any routes of your own to it first.
Uploading routes.yaml is a separate step from uploading the theme:
- Log in to Ghost Admin at
yoursite.com/ghost/. - Open Settings › Advanced › Labs (set your Ghost site URL to open it in your Ghost Admin), choose Open, then the Beta features tab.
- In the Routes row, open the menu next to Edit, choose Upload file and select the
routes.yamlfrom the root directory of the theme.
The routes.yaml in the zip sets up the URLs the theme expects. For everything routing in Ghost can do (collections, channels, taxonomies and static routes), see Ghost CMS dynamic routing & routes.yaml.
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
template: index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/Custom settings
The theme has its own design settings, which you change in Ghost Admin without code. Open Settings › Site › Design & branding (set your Ghost site URL to open it in your Ghost Admin) and choose Customize: the theme’s settings are on the Theme tab, in up to three groups: Site wide, Homepage and Post. In these docs a setting is written with its group, for example Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin).
The theme’s settings, defined in its package.json:
| Setting | Group | What it does |
|---|---|---|
| Secondary color | Site wide | The lead story's field, the waves and the Members pill. Text on it turns black or white. |
| Color scheme | Site wide | System follows the visitor's device. Visitors can change it in the header and the menu. |
| UI font family | Site wide | The font of the navigation, buttons, pills and labels. |
| Use portal links | Site wide | Sign in, Subscribe and Account open Ghost's Portal. Off: the theme's own pages. |
| Enable scroll to top | Site wide | A button, bottom right, that goes back to the top of the page. |
| Homepage featured on top | Homepage | The latest featured post leads the home page. Off: the latest post. |
| Enable image lightbox | Post | Images in posts open full size, over the page, when selected. |
| Enable progress bar | Post | A thin bar at the top of posts that shows how far the reader has scrolled. |
Note
To keep your design settings when you update the theme, upload the new version under the same zip file name, or deploy it with the GitHub action. More in keeping your design settings.
Homepage
The homepage is defined in home.hbs. It has these sections, in this order, besides the header and the footer:
- the lead story, on the yellow field
- the topics
- Latest: your newest posts, with Load more posts
- the subscribe band
The lead story and Latest come from your posts. The topics and the subscribe band’s text read a page with its own slug, which you write in the Ghost editor. Leave these pages out of your navigation: their own URL still works, but they’re there for the homepage.
| Page slug or source | Section | What to put in it |
|---|---|---|
| (featured posts) | The lead story | Feature a post in the editor: the latest featured post leads the homepage. Without featured posts, the latest post leads |
home-topics | The topics | The page’s tags are the topics, in the page’s order. The page’s content isn’t shown |
section-subscribe | The subscribe band | The title is the heading, the excerpt the line under it. Optional: without the page, “Get new posts by email” and “Free, and easy to leave.” |
To create one, open Pages in Ghost Admin, choose New page, set the Page URL in the page settings to the slug above and choose Publish.
Lead story
The lead story is a block on the field, in the Secondary color (yellow by default; see Color customization): the post’s first tag, a Featured label on a featured post, Members or Paid on a post that isn’t public, then the title, the excerpt, the author and date, and the feature image beside it on large screens.
- Homepage featured on top — the latest featured post leads the homepage (on by default). Off, or without featured posts, the latest post leads.
To feature a post, open it in the editor and turn on Feature this post in the post settings. The lead story isn’t repeated in Latest.
Topics
The topics are the tags of the page with the slug home-topics, in the page’s order. Each tile shows the tag’s name and post count on a tint of the tag’s color, or of the accent color when the tag has none. All topics → goes to /tags/ (see Pages). The same tags show as chips on the tag pages.
To add them, open the home-topics page’s settings and add the tags under Tags, in the order you want them. To set a tag’s color, open Tags in Ghost Admin, open the tag and set its Color. Without the page, or without tags on it, there are no topics.
Latest
Latest shows your newest posts as cards, without the lead story, 12 at a time (the posts_per_page of the theme’s package.json; see Ghost config). When there are more, Load more posts adds the next ones below them, without leaving the page, and skips any already shown. Without JavaScript, it opens the next page instead (/page/2/ and so on).
Each card shows the feature image, or the post’s title on its tag’s tint when it has none, the first tag, Members or Paid on a post that isn’t public, the title, the author and the date.
Subscribe band
The subscribe band is on the accent color, with an email form, for visitors who aren’t members. Its heading and the line under it are the title and excerpt of the page with the slug section-subscribe. Without the page, the heading is “Get new posts by email” and the line “Free, and easy to leave.” The same text shows in the box after each post. The band doesn’t show on an invite-only site, or to signed-in members.
Note
Before 3.0, the Homepage layout setting chose a grid or a list, with or without the sidebar, and Homepage topics showed your four most used tags. 3.0 has one homepage design, and the topics come from the home-topics page (see Upgrade to v3).
Header
The header is one row. On large screens it shows the navigation from Settings › Site › Navigation (set your Ghost site URL to open it in your Ghost Admin) on the left, the publication logo in the middle, then Ghost’s search, the color scheme button, and Sign in and Subscribe for visitors (Account for members). On smaller screens it shows the logo, Subscribe for visitors, the search and the menu button.
Without a logo, the header shows the site title in a gradient from the accent color to the Secondary color. The logo is 32px tall on phones and 44px on larger screens; to change it, see Code snippets.
Navigation
The navigation shows the items that fit beside the logo. The others go under More (the three dots) at the end of the navigation, which shows only when an item doesn’t fit. Items whose label starts with - become dropdown menus, in the header, in More and in the menu.
Menu
Below large screens, the menu opens from the right. It holds the navigation, the secondary navigation, the color scheme button, and Subscribe and Sign in for visitors, or Account and Sign out for members.
Color scheme button
The color scheme button (a moon, or a sun in dark mode) switches the site between light and dark: in the header on large screens, in the menu on smaller ones. The reader’s choice is saved in their browser. The scheme a reader sees first is the Color scheme setting (see Color customization).
Search
The search is Ghost’s own, from the search button: it works with no setup. For other ways to add search to a Ghost theme, see search options for Ghost themes.
The Sign in, Subscribe and Account links open Ghost’s Portal by default; see Portal links.
Footer
The footer shows the publication logo (or the site title, in the same gradient as the header’s) and the site description, the secondary navigation from Settings › Site › Navigation (set your Ghost site URL to open it in your Ghost Admin), the copyright line and the social links.
The primary navigation is in the header only, so put the links you want in the footer, such as your archive, tags or about page, in the secondary navigation.
Enable scroll to top in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin) (on by default) adds a round button at the bottom right of the page, once readers have scrolled a screen down, that goes back to the top.
Templates
The default post layout is defined by the post.hbs template and the default page layout by the page.hbs template.
A post opens with a panel on a tint of its first tag’s color (or of the accent color): the tag, Members or Paid on a post that isn’t public, the title, the excerpt and the byline (the author’s photo, the authors, the date and the reading time). The feature image sits over the panel’s lower edge, with its caption under it. Each h2 heading in the post text has a wave under it, and quotes sit on a pale panel of the Secondary color.
After the content, a post shows its tags, a box to get new posts by email (for visitors who aren’t members; its text is the subscribe band’s), the author cards, links to the previous and next posts, the comments, and More in its first tag: three more posts with that tag.
A page has the same title area, without the byline, on a tint of the accent color. With Show title and feature image off in the page settings, a page shows only its content.
Post templates
Auden includes one post template in addition to the default. You choose it in Post settings › Template; it works for pages too:
- Post With Table Of Contents (
custom-post-with-table-of-contents.hbs) — a table of contents built from the post’s headings
The table of contents uses the Tocbot (opens in a new tab) library, included in the theme, and marks the heading being read. On extra large screens it sits in a column on the left of the post text and stays in view as readers scroll. On smaller screens it’s a box above the text, open from tablets up, that readers open and close with its button. To change it, edit partials/toc.hbs.
Note
Before 3.0 this template was named custom-with-table-of-contents.hbs, and there was a template without the sidebar (custom-no-sidebar.hbs). A post that used one shows the default layout until you pick the template again (see Upgrade to v3).
The page templates (Signup, Archive…) are described under Pages.
Post settings
- Enable image lightbox — images in image and gallery cards open full size, over the page, when selected (on by default). A linked image opens its link instead.
- Enable progress bar — a thin bar at the top of posts that shows how far the reader has scrolled (on by default)
To hide the comments on a post, add the internal tag #nocomment to it. To open links to other sites in a new tab, see Code snippets.
Tag and author pages
A tag page opens with a panel on a tint of the tag’s color: the tag’s name, its description, its post count and its feature image. Below it, the topics show as chips, with the tag on screen marked, then the tag’s posts, with Load more posts.
An author page shows the author’s photo, name, bio, post count and website, then their posts.
Pages
The theme’s own pages are pages you create in Ghost Admin, each with one of the theme’s page templates. Nothing goes in routes.yaml for them. You get the page’s title, excerpt, feature image and SEO fields, and you can add it to your navigation.
To create one:
- Log in to Ghost Admin at
yoursite.com/ghost/. - Open Pages and choose New page.
- Enter the title. In the page settings, set the Page URL to the slug below and pick the Template.
- Choose Publish.
| Page URL | Template | What it shows |
|---|---|---|
signup | Template Signup (custom-template-signup.hbs) | The sign-up form |
signin | Template Signin (custom-template-signin.hbs) | The sign-in form |
account | Template Account (custom-template-account.hbs) | The signed-in member’s details, subscription, newsletters and emails |
membership | Template Membership (custom-template-membership.hbs) | Your tiers, with their prices and benefits |
archive | Template Archive (custom-template-archive.hbs) | Every post, newest first, by month |
tags | Template Tags (custom-template-tags.hbs) | Your public tags, by post count |
authors | Template Authors (custom-template-authors.hbs) | Everyone who has published a post |
recommendations | Template Recommendations (custom-template-recommendations.hbs) | The sites you recommend |
The theme links to /signup/, /signin/, /account/ and /membership/ when Use portal links is off (see Portal links), so create those four if you turn it off. The homepage’s All topics → links to /tags/. Every page template shows the page’s own content after its part, so you can add text in the editor.
Sign-up and sign-in pages
The sign-up and sign-in pages show a card on a tint of the accent color, with the page’s title and excerpt and the form. When the site has more than one newsletter, the sign-up form lists them. When sign-up is for paid members only, the sign-up page links to the membership page instead of showing the form, and a signed-in member is pointed to their account.
Account
The account page lets a signed-in member change their name, the expertise shown beside it on comments and their email address, see their subscription, choose their newsletters, turn comment notifications on and off, and fill in the custom fields you set up in Settings › Membership (set your Ghost site URL to open it in your Ghost Admin) (Ghost 6.78 or newer). When Ghost has stopped emailing a member whose emails bounced, the page offers to turn their emails back on.
Membership
The membership page shows your tiers with a monthly and yearly choice. The tier names, prices and benefits come from Settings › Membership › Tiers (set your Ghost site URL to open it in your Ghost Admin). A signed-in member sees their current plan marked. The tiers’ buttons open Ghost’s Portal to sign up or change plans.
Archive
The archive lists every post, newest first, by month: each post with its date, its title and its first tag. Its title and excerpt head the page; without an excerpt, it shows the number of posts. It shows 12 posts at a time (the theme’s posts_per_page), with ← Newer posts and Older posts → links to ?page=2, ?page=3 and so on. Without JavaScript, the first 12 show.
To list only some posts, add tags to the archive page: it then lists the posts with those tags, internal tags too. A site can have several archives, each a page with the Archive template, its own tags and its own URL. The theme doesn’t link to the archive, so add it to your navigation, for example the secondary navigation in the footer.
Tags and authors
The tags page shows your public tags as tiles, by post count, each on a tint of its color. The authors page shows everyone who has published a post: photo, name, bio and post count.
Recommendations
The recommendations page shows the sites you recommend in Settings › Growth › Recommendations (set your Ghost site URL to open it in your Ghost Admin), when recommendations are turned on there.
Note
Before 3.0, the members pages and /recommendations/ were routes in routes.yaml, and the tags, authors, membership and archive pages used templates picked by their slug. The contact page is gone. 3.0 makes them all page templates (see Upgrade to v3).
Portal links
Use portal links in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin) (on by default) opens Ghost’s Portal from the theme’s member links: Sign in, Subscribe and Account in the header and the menu, and the links in the box on members-only and paid posts (Subscribe now, Sign in and Upgrade your account).
Turn it off to send those links to the theme’s own pages instead: /signin/, /signup/, /account/ and /membership/. Create those four pages first, each with its template (see Pages).
Note
To see the Portal links, open Settings › Membership › Signup portal (set your Ghost site URL to open it in your Ghost Admin), choose Customize, then the Links tab.
The subscribe band on the homepage and the box after posts sign visitors up directly, without a page or Portal. The tiers on the membership page always open Portal.
Color customization
You can change the accent color in Settings › Site › Design & branding › Brand (set your Ghost site URL to open it in your Ghost Admin). It colors the Subscribe buttons and the subscribe band, and starts the gradient of the site title, the waves under section titles and the reading progress bar. The theme picks black or white text for it, whichever reads better.
- Secondary color — the field behind the homepage’s lead story, the end of the gradient (the site title, the waves and the progress bar), the Members and Paid labels, the rings around author photos, and the paid tiers on the membership page (default
#f9d400). Text on it turns black or white, whichever reads better. In dark mode, the lead story’s field is a deep mix of it with the background. - Color scheme —
system(default) follows the reader’s device setting,lightordark. Readers can switch with the color scheme button; their choice is saved in their browser.
Tag colors
A tag’s own color, set in Tags in Ghost Admin (open the tag and set its Color), tints the topic tiles, the tag’s page header, the title area of posts with that tag as their first tag, and the cards of those posts without a feature image, and colors the tag’s dot. A tag without a color uses the accent color. The tint is a light mix of the color with the background, so any color works in both color schemes.
Change the colors
The theme’s colors are CSS custom properties, so you can override them in Settings › Advanced › Code injection › Site header (set your Ghost site URL to open it in your Ghost Admin) (what code injection is). Add the following and adjust the values.
For the light color scheme:
<style>
:root {
--color-typ: #080C21; /* text */
--color-typ-tone: #4A4D5E; /* muted text */
--color-typ-content: #080C21; /* the text of posts */
--color-bgr: #FFFFFF; /* background */
--color-bgr-tone: #F6F6F8; /* muted background */
--color-brd: #E6E7EC; /* borders */
}
</style>For the dark color scheme, use the same names under a second selector. It applies whenever the site shows dark, whether the reader chose it or their device did:
<style>
[data-color-scheme="dark"]:root {
--color-typ: #F2F2F5;
--color-typ-tone: #A9ADC2;
--color-typ-content: #F2F2F5;
--color-bgr: #0E1122;
--color-bgr-tone: #181C33;
--color-brd: #2A2F4A;
}
</style>The values above are the theme’s defaults. The reversed colors (--color-typ-reverse and --color-bgr-reverse) follow the background and text colors by themselves. The email forms on the accent color use --color-paper (#FFFFFF) and --color-ink (#080C21), which stay the same in both color schemes.
Some tools for choosing colors: Fuel HSL color picker (opens in a new tab), Coolors contrast checker (opens in a new tab).
Note
Before 3.0, the colors were --color-text, --color-bg, --color-border and so on, with --global-… properties for the width and radius, and the setting was Default color scheme. 3.0 renames them: the table is under Upgrade to v3.
Typography
Note
Ghost has custom fonts (opens in a new tab) of its own: you set the heading and body fonts in Settings › Site › Design & branding › Brand › Typography (set your Ghost site URL to open it in your Ghost Admin).
To use the theme’s own fonts instead, set both to Theme default there.
For a font Ghost doesn’t offer (your own files or a Google Font added with code injection), follow how to add custom fonts in Ghost.
By default the theme uses Poppins (opens in a new tab) for headings and Open Sans (opens in a new tab) for the body text, from Bunny Fonts. To use other fonts, set them in Ghost’s own typography settings, in Settings › Site › Design & branding › Brand › Typography (set your Ghost site URL to open it in your Ghost Admin): they take over when set.
UI font family in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin) sets the font of the interface (the navigation, buttons, pills and labels):
heading(default) — the heading fontbody— the body fontsystem— the reader’s system font, with nothing to downloadserif— the reader’s system serif fontmono— the reader’s system monospace font
Note
Before 3.0, the body text was in Poppins too. 3.0 sets it in Open Sans by default, and the new UI font family setting picks the font of the interface (see Upgrade to v3).
Dropdown menus
The theme can show dropdown menus in the header. To make an item a submenu item, start its label with a minus sign (-) in Settings › Site › Navigation (set your Ghost site URL to open it in your Ghost Admin) (choose Customize to edit the menu).
An item that starts with - goes into the dropdown of the item above it. For example, these items make a Members menu with three entries. The full walkthrough is in How to add dropdown menus in Ghost.
Ghost config
Some of the theme’s configuration lives in its package.json file: the posts per page, the image sizes and the custom settings.
Posts per page
posts_per_page is the number of posts a list shows before it’s paginated, such as the tag and author pages.
To change it, edit the value in package.json. The theme comes with:
"config": {
"posts_per_page": 12
}Image sizes
Ghost makes copies of every uploaded image at the sizes the theme asks for (opens in a new tab), so pages can load the right size. They’re set under image_sizes in package.json; edit them before you upload the theme. The theme comes with:
"image_sizes": {
"w100": {
"width": 100
},
"w320": {
"width": 320
},
"w640": {
"width": 640
},
"w960": {
"width": 960
},
"w1280": {
"width": 1280
},
"w2000": {
"width": 2000
}
}Comments
The theme uses Ghost’s native comments. Turn them on in Settings › Membership › Access (set your Ghost site URL to open it in your Ghost Admin), under Who can comment on posts?:
All members— every signed-in memberPaid-members only— signed-in members with an active paid subscriptionNobody— comments are off
If the theme has a comments setting of its own (listed in its settings above), set it to Ghost’s native comments too.
Icons
The theme’s icons are from Tabler Icons (opens in a new tab). Only the icons the theme uses are included, each as its own .hbs file in partials/icons/.
To add an icon:
- Find the icon on Tabler Icons (opens in a new tab) and select it: this copies its SVG code.
- In
partials/icons/, create a file named after it, for examplecamera.hbs. - Paste the code into the file and save it.
For example, the camera icon copies as:
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-camera" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M5 7h1a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2" />
<circle cx="12" cy="13" r="3" />
</svg>To show an icon in the theme’s templates, use the partials/icon.hbs partial with the icon’s name (and, optionally, Tailwind classes for its size in icon_class, such as size-6):
{{>icon name="camera"}}The CSS only has the Tailwind classes the theme’s files already use, so after adding a class the theme doesn’t use yet, rebuild the CSS (see Theme development).
Social links
The theme shows the social accounts you set in Settings › General settings › Social accounts (set your Ghost site URL to open it in your Ghost Admin).
It can also link these platforms, which Ghost has no field for:
- Discord
- GitHub
- Telegram
To add one, put its link in Settings › Advanced › Code injection › Site footer (set your Ghost site URL to open it in your Ghost Admin) (what code injection is). For example, for GitHub:
<script>
socials.github = 'https://github.com/brightthemes'
</script>The other names are discord, pinterest, reddit, telegram and whatsapp.
Note
For a platform that isn’t listed, add its icon (see the Icons section), then add a block for it in partials/social-links.hbs, like the ones already there.
Syntax highlighting
The theme highlights code with Prism (opens in a new tab), the library our guide to syntax highlighting in Ghost uses too. To turn it on for a post or page, add the internal tag #syntax-highlight to it. Posts and pages without the tag don’t load Prism at all, so they stay lighter.
To highlight code on every post and page without the tag, edit partials/syntax-highlight.hbs and remove the condition that checks for it. The same partial loads Prism (its core, with HTML, CSS and JavaScript) and its color theme from a CDN, so that’s also where you change the version or the colors, or add the script of another language or a plugin.
Translations
By default, everything is in English (en.json). The theme also comes with translations in:
- German (
de.json) - Spanish (
es.json) - French (
fr.json) - Italian (
it.json) - Portuguese (
pt.json) - Turkish (
tr.json)
Note
A translation applies once you set the site’s language in Settings › General settings › Publication language (set your Ghost site URL to open it in your Ghost Admin).
To change a translation, edit its file in the theme’s locales directory:
|__ locales
| |__ de.json
| |__ en.json
| |__ es.json
| |__ fr.jsonFor a language the theme doesn’t have, add a file named with its language code (for example pl.json): copy en.json, rename it, and translate the values. The full walkthrough is in How to translate your theme in Ghost.
Theme development
For changes beyond the design settings and code injection, you can work on the theme’s source. The theme is built with Tailwind CSS (opens in a new tab) and Alpine.js (opens in a new tab), and its assets are compiled and minified with Vite (opens in a new tab).
You need Node.js (opens in a new tab) and a local install of Ghost. Put the theme’s folder in Ghost’s content/themes/ directory, open it in your terminal and run npm install to install its dependencies. Then:
npm run dev— runs the Vite dev server atlocalhost:2468, in front of your local Ghost on port 2368: it rebuilds the assets whenever you change a file and reloads the browser. The Vite configuration is invite.config.js.npm run build— builds the assets once, intoassets/built/.npm run test— checks the theme with GScan (opens in a new tab), Ghost’s own theme checker.npm run zip— makes a zip of the theme in thedistdirectory, ready to upload.
Ghost’s own Edit code changes the theme’s files in Ghost Admin, but it doesn’t run this build: use it for templates, and make style and script changes here.
Code snippets
Short snippets for common changes. Add them in Settings › Advanced › Code injection › Site header (set your Ghost site URL to open it in your Ghost Admin) (what code injection is). They use the theme’s CSS custom properties and data-* attributes, which stay the same across updates.
How to resize the logo?
The logo is 32px tall on phones and in the footer, and 44px in the header on larger screens. Change the heights to your preference:
<style>
:root {
--logo-h-mobile: 36px;
--logo-h-desktop: 52px;
}
</style>--logo-w-mobile and --logo-w-desktop set the width instead (auto by default), for a wide logo.
How to change the site width or the corners?
<style>
:root {
--container-site: 1200px; /* the site's width (1280px) */
--container-content: 720px; /* the width of post text (680px) */
--radius-theme: 12px; /* the corners of cards (22px) */
--radius-img: 8px; /* the corners of images in cards (14px) */
--radius-panel: 16px; /* the corners of the large panels on large screens (28px) */
--radius-panel-sm: 12px; /* the corners of the topic tiles and menus (20px) */
--radius-btn: 8px; /* the corners of buttons and fields (999px: round) */
}
</style>How to open links to other sites in a new tab?
<script>
window.THEME_CONFIG.EXTERNAL_LINKS_IN_NEW_TAB = true;
</script>Links to your own site keep opening in the same tab.
How to remove the color scheme button?
<style>[data-color-scheme-button] { display: none !important; }</style>Set Color scheme to light or dark too, so every reader gets the same one.
How to hide the subscribe band or box?
The band on the homepage is [data-subscribe="band"], the box after posts [data-subscribe="box"]:
<style>[data-subscribe="band"] { display: none !important; }</style>How to hide the topics on the homepage?
Unpublish the home-topics page to hide them on the homepage and the tag pages (see Homepage), or hide only the homepage’s tiles:
<style>[data-topics] { display: none !important; }</style>Upgrade to v3
We rebuilt Auden for 3.0 on a new codebase, with a refreshed design: one homepage with the lead story on the yellow field, topic tiles and a grid of posts, page templates for the members pages and the archive, Poppins and Open Sans by default, and better keyboard and screen reader access. Every file has changed, so if you’ve edited the theme’s files, start from the new version and bring your changes over. These things change for a site that runs 2.x:
- One homepage design, without a sidebar. Homepage layout is gone, and so is the sidebar on the homepage and on posts. Homepage featured on top stays: the latest featured post leads the homepage, else the latest post (see Homepage). Load more posts adds the next posts below Latest.
- The topics come from the
home-topicspage. Homepage topics is gone: create a page with the slughome-topicsand add the tags to show, in order. Without it, there are no topics. - The sidebar banner is gone, with the Sidebar banner and Sidebar banner link settings. To show a banner, put Ghost’s Call to action card in a post.
- The subscribe band’s text can come from the
section-subscribepage. Its title is the heading, its excerpt the line under it; without it, a default text. - The theme’s own pages are pages with a template instead of entries in
routes.yamlor templates picked by the page’s slug: sign up, sign in, account, membership, archive, tags, authors and recommendations (see Pages). The theme’sroutes.yamlis now Ghost’s default. - The archive shows 12 posts at a time, by month, with links to the older ones, instead of up to 100 on one page. Tags on the archive page limit it to their posts.
- The contact page is gone (
page-contact.hbs, with its Formspree form). Put a form on a page with an HTML or embed card instead; see how to create a contact page in Ghost. - The post templates change.
custom-with-table-of-contents.hbsis nowcustom-post-with-table-of-contents.hbs, shown in Ghost as Post With Table Of Contents, andcustom-no-sidebar.hbsis gone: every post is without a sidebar now (see Templates). A post that used one shows the default layout until you pick a template again. - The offline page and the app install are gone (
/offline/, the web app manifest and the service worker). - Open external links in new tab is gone. One line of code injection does the same (see Code snippets).
- Default color scheme is now Color scheme, with lowercase values (
system,light,dark). A site that set it before showssystemuntil you pick it again. - The body text is in Open Sans, with Poppins for headings, from Bunny Fonts; Ghost’s typography settings replace them when set. The new UI font family setting picks the font of the interface (see Typography).
- The share buttons are gone, and so are the Disqus and Cove comment files: the comments are Ghost’s own.
- Auden 3.0 needs Ghost 6.38 or newer (2.x needed 6.0).
- Lists show 12 posts per page instead of 10 (
posts_per_pageinpackage.json). - Code injection names changed. The CSS custom properties have new names (below), and class names such as
.header__brandor.post-cardare gone: style thedata-*attributes instead, such as[data-header],[data-post-card]or[data-lead]. The icon sprite is gone: each icon is a file inpartials/icons/, and the social links are inpartials/social-links.hbs(see Social links). Theconfigobject inpartials/theme-config.hbsis nowwindow.THEME_CONFIG, and the Disqus and PWA options in it are gone. - Readers’ color scheme choice resets once. The browser now keeps it as
PREFERRED_COLOR_SCHEMEinstead ofUSER_COLOR_SCHEME, so a reader who picked light or dark sees your Color scheme until they pick again.
| Before 3.0 | In 3.0 |
|---|---|
--color-primary | the accent color in Settings › Site › Design & branding › Brand (set your Ghost site URL to open it in your Ghost Admin) |
--color-secondary | the Secondary color setting (--color-secondary still holds it) |
--color-text, --color-dark | --color-typ and --color-typ-content |
--color-text-accent-1, --color-text-accent-2, --color-text-accent-3 | --color-typ-tone |
--color-text-reverse | --color-typ-reverse |
--color-bg | --color-bgr |
--color-bg-accent-1, --color-bg-accent-2, --color-bg-accent-3 | --color-bgr-tone |
--color-bg-reverse | --color-bgr-reverse |
--color-border | --color-brd |
--global-max-width | --container-site |
--global-radius | --radius-theme, --radius-img, --radius-panel and --radius-btn |
--font-family-sans-serif | --font-heading and --font-body |
--font-family-secondary | --font-body |
--color-error and --color-success keep their names. The other properties (--color-grey-…, --color-light…, --color-dark-accent…, --color-black, --color-white, --color-border-dark, --color-warning, --color-info, --global-radius-rounded, --global-hyphens, --font-family-serif, --font-family-monospace, --font-size-base, --line-height-base, the --font-weight-…, --gap…, --animation-…, --breakpoint-…, --container-…, --screen-… and gutter ones) are gone, with nothing in their place.
Move a site over
After you upload Auden 3.0 in Settings › Site › Theme › Change theme (set your Ghost site URL to open it in your Ghost Admin):
- Upload the new
routes.yamlfrom the theme’s zip in Settings › Advanced › Labs (set your Ghost site URL to open it in your Ghost Admin) (see Upload routes.yaml). It takes out the/signup/,/signin/,/account/,/offline/and/recommendations/routes. - In Pages, give these pages the matching Template in their page settings, or create them:
signup(Template Signup),signin(Template Signin),account(Template Account) andmembership(Template Membership), and if your site uses them,archive(Template Archive),tags(Template Tags),authors(Template Authors) andrecommendations(Template Recommendations). With Use portal links on (the default), the members pages are optional. - Create a page with the slug
home-topicsand add the tags to show on the homepage, in order. Leave it out of your navigation. - To change the subscribe band’s text, create a page with the slug
section-subscribe: its title the heading, its excerpt the line under it. - Pick Post With Table Of Contents again in Post settings › Template on the posts that used the table of contents template (shown in 2.x as With Table Of Contents).
- If you had a contact page, put your form in its content with an HTML card, and take
/offline/out of your navigation if it was there. - If you changed Default color scheme, pick Color scheme again. If you had Open external links in new tab on, add its code injection line. Update any code injection that uses the old names in the table above.
Something missing or unclear? Ask support.