# Fumio documentation

Version 2.0.0 · Updated 30 Nov 2026 · Works with Ghost 6 · Changelog: https://brightthemes.com/changelog/fumio

Source: https://brightthemes.com/docs/fumio

How to install, set up and customize the Fumio Ghost theme, from its design settings to theme development.

## Install the theme

Upload the theme to Ghost and activate it, step by step, in **Settings › Site › Theme**.

To upload the theme:

1.  Log in to Ghost Admin at `yoursite.com/ghost/`.
2.  Open **Settings › Site › Theme** and choose **Change theme**.
3.  Choose **Upload theme** and select `fumio.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.
4.  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](https://brightthemes.com/blog/ghost-theme-install).

*Ghost Admin: Settings › Site › Theme › Change theme*

## Upload routes.yaml

Upload the theme's routes.yaml in **Settings › Advanced › Labs**, so collections and pages work as the theme expects.

> [!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:

1.  Log in to Ghost Admin at `yoursite.com/ghost/`.
2.  Open **Settings › Advanced › Labs**, choose **Open**, then the **Beta features** tab.
3.  In the **Routes** row, open the menu next to **Edit**, choose **Upload file** and select the `routes.yaml` from 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](https://brightthemes.com/blog/ghost-routing).

*Ghost Admin: Settings › Advanced › Labs*

```yaml title="routes.yaml"
## routes.yaml
## data: page.<slug> takes a route's title, description and image from the page with that slug. Commented out, it waits until that page exists.
routes:

collections:
  # Projects: every post without the #blog internal tag (the work)
  /projects/:
    permalink: /{slug}/
    template: projects
    # data: page.projects
    filter: tag:-hash-blog
  # Blog: the posts with the #blog internal tag
  /blog/:
    permalink: /{slug}/
    template: blog
    # data: page.blog
    filter: tag:hash-blog
  # The home page (home.hbs), and the site's RSS feed at /rss/, with every post
  /:
    permalink: /{slug}/
    template: home

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/
```

## Custom settings

Change the theme's design settings in Ghost Admin without code, and keep them when you update the theme.

The theme has its own [design settings](https://brightthemes.com/blog/ghost-custom-theme-settings), which you change in Ghost Admin without code. Open **Settings › Site › Design & branding** 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**.

*Ghost Admin: Settings › Site › Design & branding › Theme*

The theme's settings, defined in its `package.json`:

| Setting | Group | What it does |
|---|---|---|
| Color scheme | Site wide |  |
| UI font family | Site wide | The font of navigation, buttons and labels |
| Background pattern | Site wide |  |
| Header position | Site wide | Sticky stays at the top; floating hides as the page scrolls down |
| Hero image style | Homepage | Where the home-hero page's feature image goes (or the site cover) |
| Hero CTA | Homepage | Under the hero: a subscribe form, or nothing |
| Project feed layout | Homepage | The layout of the work, on the home page and /projects/ |
| Max project count | Homepage | How many projects the home page shows |
| Project card color | Homepage | Project cards in their first tag's accent color |
| Enable breadcrumbs | Post | Home, Blog or Projects, and the first tag, above the post title |
| Comment plugin | Post |  |
| Comment plugin ID | Post | Cove: the publication ID. Disqus: the shortname |

> [!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](https://brightthemes.com/blog/ghost-theme-deployment). More in [keeping your design settings](https://brightthemes.com/blog/ghost-theme-settings-update).

## Homepage

The homepage is defined in `home.hbs` and is built from pages you write in the Ghost editor. It has these sections, in this order, besides the [header](https://brightthemes.com/docs/fumio#header) and the [footer](https://brightthemes.com/docs/fumio#footer):

- the hero
- the latest work: your projects
- services
- client logos
- testimonials
- the team
- FAQ
- the blog
- topics

Every section but the latest work reads a page with its own slug, and shows only when that page is published. Leave these pages out of your navigation: their own URL still works, but they're there for the homepage.

| Page slug | Section | What to put in it |
|---|---|---|
| `home-hero` | The hero | The title is the headline, the excerpt the description, the feature image the hero's image. Content is optional: it shows under the description (a **Button** card works) |
| `home-projects` | Latest work | Optional: the title and excerpt are the section's heading and intro |
| `home-services` | Services | Title and excerpt: the heading and intro. One **Call to action** card per service |
| `home-clients` | Client logos | Title: the small heading. A **Gallery** card, or **Image** cards, of the logos |
| `home-testimonials` | Testimonials | Title and excerpt: the heading and intro. One **Product** card per testimonial |
| `home-team` | The team | Title and excerpt: the heading and intro. The page's **authors** are the team |
| `home-faq` | FAQ | Title and excerpt: the heading and intro. One **Toggle** card per question |
| `home-blog` | The blog | Title and excerpt: the heading and intro. The page's content isn't shown |
| `home-topics` | Topics | Title and excerpt: the heading and intro. The page's **tags** are the topics |

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**. The call to action above the footer is a page too: see [Footer](https://brightthemes.com/docs/fumio#footer).

### Hero

The hero shows the page with the slug `home-hero`:

- **The title** is the headline. Put words between asterisks to show them in italic, in the accent color: `Let's build *something* together`.
- **The excerpt** is the description under it.
- **The feature image** is the hero's image.
- **The content** is optional and shows under the description: a **Button** card, for example, to your contact page.

Without the page, the hero shows the site's title, description and cover image (from **Settings › General settings**).

In **Settings › Site › Design & branding › Theme › Homepage**:
- **Hero image style** — where the image goes: `background`, `background-full` (the full width of the window), `side`, `bottom` or `hidden` (default)
- **Hero CTA** — `subscribe-form` (default) shows a subscribe form under the hero, for visitors who aren't members; `none` shows nothing

### Latest work

Every post is work unless it has the `#blog` internal tag (see [routes](https://brightthemes.com/docs/fumio#routes)). The latest work shows your newest projects, with a **View all** link to `/projects/`. Its heading is **Latest work**, or the title and excerpt of the page with the slug `home-projects`.

In **Settings › Site › Design & branding › Theme › Homepage**:
- **Project feed layout** — `grid`, `asymmetric-grid` (default), `list`, `asymmetric-list` or `alternating-list`, here and on `/projects/`
- **Max project count** — how many projects the homepage shows: `1` to `6` (default `6`)
- **Project card color** — each project card in the accent color of the post's first tag (on by default)

To set a tag's color, open **Tags** in Ghost Admin, open the tag and set its **Color**.

### Services

Each service is a **Call to action** card in the page with the slug `home-services`:

- **the image** is the service's icon
- **the first line**, in bold, is the service's name, and the rest is its description
- **the background color** is the card's tint: grey, blue, green, yellow, red, pink or purple (white or none for no tint)
- **the button** is optional

The cards fill the row, each at least 16rem wide, in the page's order.

### Client logos

The page with the slug `home-clients` holds the logos, in a **Gallery** card or in **Image** cards, shown in a row between two lines. Its title is the small heading above them.

Give each image an alt text that names the client. An **Image** card's link goes to the client's site. Use black logos, SVG or PNG on a transparent background: in the dark color scheme they're shown in white.

### Testimonials

Each testimonial is a **Product** card in the page with the slug `home-testimonials`:

- **the description** is the quote
- **the title** is the person's name and role
- **the image** is their photo
- **the rating** is optional
- leave the button off

### Team

The team is the authors of the page with the slug `home-team`, in the page's order: add them in the page settings, under **Authors**. Each card shows the author's photo, name, social links, bio and post count, from their profile (**Settings › Staff**). **View all** goes to `/authors/` (see [Pages](https://brightthemes.com/docs/fumio#pages)).

### FAQ

Each question is a **Toggle** card in the page with the slug `home-faq`: the heading is the question and the content is the answer. Readers open and close them.

### Blog

The blog section shows your three latest posts with the `#blog` internal tag, with a **View all** link to `/blog/`. Its heading and intro are the title and excerpt of the page with the slug `home-blog`.

### Topics

The topics are the tags of the page with the slug `home-topics`, in the page's order, as cards in each tag's accent color, with its image. **View all** goes to `/tags/` (see [Pages](https://brightthemes.com/docs/fumio#pages)).

> [!NOTE]
> Before 2.0, the hero came from the **Hero headline** and **Hero description** settings, and the services, client logos and testimonials from the tags of pages tagged `#home-services`, `#home-clients` and `#home-testimonials`. 2.0 builds every section from the pages above (see [Upgrade to v2](https://brightthemes.com/docs/fumio#upgrade)).

## Header

The header shows the publication logo (or the site title), the navigation from **Settings › Site › Navigation**, a **Subscribe** button for visitors who aren't members (**Sign in** on an invite-only site) and the menu button. On large screens the navigation shows in the header when it fits; a longer one stays in the menu. Items whose label starts with `-` become [dropdown menus](https://brightthemes.com/docs/fumio#dropdown-menus).

The menu opens from the right. It holds Ghost's search, the navigation, a subscribe form for visitors or **Account** and **Sign out** for members, and a button that switches the color scheme (see [Color customization](https://brightthemes.com/docs/fumio#color-customization)).

In **Settings › Site › Design & branding › Theme › Site wide**:
- **Header position** — `normal` (default) scrolls the header with the page; `sticky` keeps it at the top; `floating` hides it when readers scroll down and brings it back when they scroll up

The logo's height is set by the theme; to change it, see [Code snippets](https://brightthemes.com/docs/fumio#code-snippets). The theme's sign-up, sign-in and account links go to its own pages; to use Ghost's Portal instead, see [Portal links](https://brightthemes.com/docs/fumio#portal-links).

> [!NOTE]
> Before 2.0, **Search type** offered the theme's own search page (`/search/`). 2.0 uses Ghost's search only (see [Upgrade to v2](https://brightthemes.com/docs/fumio#upgrade)).

## Footer

Above the footer, the homepage and posts show the [call to action](https://brightthemes.com/docs/fumio#call-to-action). The footer itself shows the publication logo and the site description, with a subscribe form for visitors who aren't members, the navigation and the secondary navigation from **Settings › Site › Navigation**, the [social links](https://brightthemes.com/docs/fumio#social-links) and the copyright line.

### Call to action

The call to action is a dark panel with the page with the slug `section-cta`:

- **The title** is the headline.
- **The excerpt** is the text under it.
- **The content** is the action: a **Button** card, for example, to your contact page.

Leave the page out of your navigation. Without the page, there's no call to action.

> [!NOTE]
> Before 2.0, the call to action came from a page with the internal tag `#secondary-cta`, its excerpt the headline and its title the button. 2.0 replaces it with the `section-cta` page (see [Upgrade to v2](https://brightthemes.com/docs/fumio#upgrade)).

## Templates

The default post layout is defined by the `post.hbs` template and the default page layout by the `page.hbs` template.

A project shows its first tag above the title; a blog post (a post with the `#blog` internal tag) shows its authors and date. Above the content, every post shows its tags and a **Share** button, which opens Ghost's share window (the post's link to copy and the networks to share it on). After the content, a blog post shows its author cards and the [comments](https://brightthemes.com/docs/fumio#comments), and every post ends with up to three related posts that share its first tag. A bar at the top of the window shows how far the reader is through a post.

Images in posts and pages open larger when clicked.

### Post templates

Fumio includes 6 [post templates](https://brightthemes.com/blog/ghost-custom-templates) in addition to the default. You choose one in **Post settings › Template**; they work for pages too:

- **Post With Background Image** (`custom-post-with-background-image.hbs`) — the feature image behind the title
- **Post With Full Width Background Image** (`custom-post-with-full-width-background-image.hbs`) — the feature image behind the title, the full width of the window
- **Post With Image On Side** (`custom-post-with-image-on-side.hbs`) — the feature image beside the title (on desktop)
- **Post With Sidebar** (`custom-post-with-sidebar.hbs`) — a sidebar beside the post content (on desktop), with your featured and latest posts and a membership or newsletter box; the sidebar is `partials/sidebar.hbs`
- **Post With Table Of Contents And Sidebar** (`custom-post-with-table-of-contents-and-sidebar.hbs`) — a [table of contents](https://brightthemes.com/docs/fumio#table-of-contents) on the left and the sidebar on the right
- **Post With Wide Image** (`custom-post-with-wide-image.hbs`) — a wider feature image than the default

> [!NOTE]
> Before 2.0 these templates were named `custom-with-…`. A post that used one shows the default layout until you pick its template again (see [Upgrade to v2](https://brightthemes.com/docs/fumio#upgrade)).

The page templates (Signup, Membership…) are described under [Pages](https://brightthemes.com/docs/fumio#pages).

### Post settings

In **Settings › Site › Design & branding › Theme › Post**:
- **Enable breadcrumbs** — shows Home, then Blog or Projects and the post's first tag, above the title (off by default)
- **Comment plugin** — the comments under blog posts: `Native` (Ghost's own [comments](https://brightthemes.com/docs/fumio#comments)), `Cove`, `Disqus` or `None` (default)
- **Comment plugin ID** — what the chosen plugin needs: the publication ID for Cove, the shortname for Disqus

To hide the comments on a post, add the internal tag `#nocomment` to it.

### Tag and author pages

Tag pages show the tag's image, name and description, then its posts. Author pages show the author's photo, name, bio and links, 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:

1.  Log in to Ghost Admin at `yoursite.com/ghost/`.
2.  Open **Pages** and choose **New page**.
3.  Enter the title. In the page settings, set the **Page URL** to the slug below and pick the **Template**.
4.  Choose **Publish**.

| Page URL | Template | What it shows |
|---|---|---|
| `signup` | **Template Signup** (`custom-template-signup.hbs`) | The sign-up form, with the page's feature image on the right half on large screens |
| `signin` | **Template Signin** (`custom-template-signin.hbs`) | The sign-in form, with the page's feature image on the right half on large screens |
| `account` | **Template Account** (`custom-template-account.hbs`) | The signed-in member's details and subscription |
| `membership` | **Template Membership** (`custom-template-membership.hbs`) | Your tiers, with their prices and benefits |
| `authors` | **Template Authors** (`custom-template-authors.hbs`) | Everyone who has published a post |
| `tags` | **Template Tags** (`custom-template-tags.hbs`) | Your public tags with posts |
| `recommendations` | **Template Recommendations** (`custom-template-recommendations.hbs`) | The sites you recommend |

The theme links to `/signup/`, `/signin/`, `/account/` and `/membership/`, so create those four when your site has members. The homepage's team links to `/authors/` and its topics to `/tags/`. To use Ghost's Portal instead of the members pages, see [Portal links](https://brightthemes.com/docs/fumio#portal-links).

### Sign-up and sign-in pages

The sign-up and sign-in pages leave out the header and footer: the site's logo at the top left links home. The page's title and excerpt are the heading and the text under it. A feature image shows on the right half of the screen on large screens, with its caption over it. When sign-up is for paid members only, the sign-up page links to the membership page instead of showing the form.

### Membership

The membership page shows your tiers with a monthly and yearly choice, then the page's own content, so you can add text below them in the editor. The tier names, prices and benefits come from **Settings › Membership › Tiers**. A signed-in member sees the paid tiers, with their current plan marked.

### Authors and tags

The authors page shows a card for everyone who has published a post: photo, name, social links, bio and post count. The tags page shows a card for each public tag with posts, in the tag's accent color, with its image and post count.

### Recommendations

The recommendations page shows the sites you recommend in **Settings › Growth › Recommendations**, when recommendations are turned on there.

### Projects and blog

`/projects/` lists the work and `/blog/` the posts with the `#blog` internal tag: they're collections in the theme's [routes.yaml](https://brightthemes.com/docs/fumio#routes), not pages. `/projects/` uses the **Project feed layout** of the [homepage](https://brightthemes.com/docs/fumio#homepage).

To give them a title, description and image of your own, create a page with the slug `projects` or `blog`, then uncomment its `data:` line in `routes.yaml` and upload it again:

```yaml
  /blog/:
    permalink: /{slug}/
    template: blog
    data: page.blog
    filter: tag:hash-blog
```

> [!CAUTION]
> Uncomment a `data:` line only once its page exists: without the page, Ghost sends the collection's address back to itself, and the page doesn't load.

> [!NOTE]
> Before 2.0, these pages were routes in `routes.yaml`, with their templates in `members/` and the theme's root. 2.0 makes them page templates, so the members pages need a page each (see [Upgrade to v2](https://brightthemes.com/docs/fumio#upgrade)).

## Portal links

The theme comes with its own sign-up, sign-in, account and membership [pages](https://brightthemes.com/docs/fumio#pages). To open Ghost's Portal instead, add a `data-portal` attribute to the links in the theme files.

> [!NOTE]
> To see the Portal links, open **Settings › Membership › Signup portal**, choose **Customize**, then the **Links** tab.

Change the following files:

1. `partials/header.hbs`
   - the **Subscribe** button: add `data-portal="signup"` after `href="{{@site.url}}/signup/"`
   - the **Sign in** button (invite-only sites): add `data-portal="signin"` after `href="{{@site.url}}/signin/"`
2. `partials/menu.hbs`
   - the **Account** button: add `data-portal="account"` after `href="{{@site.url}}/account/"`
   - the **Sign in** link after "Already have an account?": add `data-portal="signin"` after `href="{{@site.url}}/signin/"`
3. `partials/content-cta.hbs` (the box on members-only and paid posts)
   - the **Subscribe** button: add `data-portal="signup"` after `href="{{@site.url}}/signup/"`
   - the **Sign in** link: add `data-portal="signin"` after `href="{{@site.url}}/signin/"`
4. `partials/sidebar.hbs`
   - the **Upgrade** button: add `data-portal="account/plans"` after `href="{{@site.url}}/membership/"`

The subscribe forms in the hero, the menu and the footer sign visitors up directly, without a page or Portal.

## Color customization

You can change the accent color in **Settings › Site › Design & branding › Brand**. The theme picks black or white text for it, whichever reads better.

In **Settings › Site › Design & branding › Theme › Site wide**:
- **Color scheme** — `system` (default) follows the reader's device setting, `light` or `dark`. Readers can switch with the button in the menu (System, Light or Dark); their choice is saved in their browser.
- **Background pattern** — a pattern behind the whole page: `none` (default), `grain`, `topography`, or `dots`, `lines` and `graph-paper` in the accent color

### Change the colors

The theme's colors are CSS custom properties, so you can override them in **Settings › Advanced › Code injection › Site header** ([what code injection is](https://brightthemes.com/blog/ghost-code-injection)). Add the following and adjust the values.

For the **light** color scheme:

```html
<style>
  :root {
    --color-typ: hsl(0 0% 10%);          /* text */
    --color-typ-tone: hsl(0 0% 30%);     /* muted text */
    --color-typ-content: hsl(0 0% 30%);  /* the text of posts */
    --color-bgr: hsl(0 0% 100%);         /* background */
    --color-bgr-tone: hsl(0 0% 97%);     /* muted background */
    --color-brd: hsl(0 0% 92%);          /* 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:

```html
<style>
  [data-color-scheme="dark"]:root {
    --color-typ: hsl(0 0% 90%);
    --color-typ-tone: hsl(0 0% 70%);
    --color-typ-content: hsl(0 0% 75%);
    --color-bgr: hsl(0 0% 12%);
    --color-bgr-tone: hsl(0 0% 10%);
    --color-brd: hsl(0 0% 20%);
  }
</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 call to action above the footer and the panels behind background images use `--color-panel` (`hsl(0 0% 20%)` by default).

A tag's own color, set in **Tags** in Ghost Admin, colors its project cards, topic cards and labels.

For example, a purple palette for both color schemes:

```html
<style>
  :root {
    --color-typ: hsl(255 100% 15%);
    --color-typ-tone: hsl(255 40% 35%);
    --color-typ-content: hsl(255 60% 25%);
    --color-bgr: hsl(255 100% 98%);
    --color-bgr-tone: hsl(255 100% 95%);
    --color-brd: hsl(255 100% 90%);
  }
  [data-color-scheme="dark"]:root {
    --color-typ: hsl(255 100% 95%);
    --color-typ-tone: hsl(255 40% 78%);
    --color-typ-content: hsl(255 60% 86%);
    --color-bgr: hsl(255 100% 10%);
    --color-bgr-tone: hsl(255 100% 13%);
    --color-brd: hsl(255 100% 20%);
  }
</style>
```

Some tools for choosing colors: [Fuel HSL color picker](https://fffuel.co/cccolor/), [Coolors contrast checker](https://coolors.co/contrast-checker).

> [!NOTE]
> Before 2.0, the colors were `--color-text`, `--color-bg`, `--color-border` and so on, with `--global-…` properties for the widths and radius. 2.0 renames them: the table is under [Upgrade to v2](https://brightthemes.com/docs/fumio#upgrade).

## Typography

> [!NOTE]
> Ghost has [custom fonts](https://ghost.org/changelog/custom-fonts/) of its own: you set the heading and body fonts in **Settings › Site › Design & branding › Brand › Typography**.

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](https://brightthemes.com/blog/ghost-custom-fonts).

By default the theme uses [Urbanist](https://fonts.google.com/specimen/Urbanist) for headings and [Inter](https://fonts.google.com/specimen/Inter) for the body text. To use other fonts, set them in Ghost's own typography settings, in **Settings › Site › Design & branding › Brand › Typography**: they take over when set.

**UI font family** in **Settings › Site › Design & branding › Theme › Site wide** sets the font of the interface (the navigation, buttons, labels and post info):
- `body` (default) — the body font
- `heading` — the heading font
- `system` — the reader's system font, with nothing to download
- `serif` — the reader's system serif font
- `mono` — the reader's system monospace font

To use Google Fonts from your own server, see [self-hosting Google Fonts](https://brightthemes.com/blog/ghost-google-fonts#self-host-the-font-instead).

> [!NOTE]
> Before 2.0, the **Font family** setting chose one of six font pairs, with the system font by default. It's gone in 2.0: Urbanist and Inter are the defaults, and Ghost's typography settings replace them (see [Upgrade to v2](https://brightthemes.com/docs/fumio#upgrade)).

## Table of contents

The table of contents is built from the post's headings with the [Tocbot](https://tscanlin.github.io/tocbot/) library, included in the theme. It marks the heading being read, and readers open and close it with its button. You can add it to a post or page in two ways:

1. With the **Post With Table Of Contents And Sidebar** [template](https://brightthemes.com/docs/fumio#templates) (`custom-post-with-table-of-contents-and-sidebar.hbs`): the table of contents in a column on the left of the post content, and the sidebar on the right. You choose the template in **Post settings › Template**.
2. With the internal tag `#toc`: a floating table of contents at the top right of the page, with any template.

With a sticky or floating header, the table of contents stays below it. To change its layout or the Tocbot configuration, edit `partials/toc.hbs`.

## Dropdown menus

Add dropdown menus to the theme's navigation from Ghost Admin, by starting an item's label with a minus sign.

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** (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](https://brightthemes.com/blog/ghost-dropdown-menus).

*Ghost Admin: Settings › Site › Navigation*

## Ghost config

Settings in Ghost's config file that the theme can use, such as image sizes and the posts per page.

Some of the theme's configuration lives in its `package.json` file: the posts per page, the image sizes and the [custom settings](https://brightthemes.com/docs/fumio#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:

```json
"config": {
  "posts_per_page": 6
}
```

### Image sizes

Ghost makes copies of every uploaded image at the [sizes the theme asks for](https://ghost.org/docs/themes/assets/#responsive-images-configuration), 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:

```json
"image_sizes": {
  "xxs": {
    "width": 30
  },
  "xs": {
    "width": 100
  },
  "s": {
    "width": 300
  },
  "m": {
    "width": 600
  },
  "l": {
    "width": 1000
  },
  "xl": {
    "width": 2000
  }
}
```

## Comments

Turn on Ghost's native comments for members, and choose who can comment.

The theme uses [Ghost's native comments](https://brightthemes.com/blog/ghost-comments). Turn them on in **Settings › Membership › Access**, under **Who can comment on posts?**:

- `All members` — every signed-in member
- `Paid-members only` — signed-in members with an active paid subscription
- `Nobody` — 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

How the theme's icons work and how to add or change one.

The theme's icons are from [Tabler Icons](https://tabler.io/icons). Only the icons the theme uses are included, each as its own `.hbs` file in `partials/icons/`.

To add an icon:

1.  Find the icon on [Tabler Icons](https://tabler.io/icons) and select it: this copies its SVG code.
2.  In `partials/icons/`, create a file named after it, for example `camera.hbs`.
3.  Paste the code into the file and save it.

For example, the `camera` icon copies as:

```html
<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`):

```hbs
{{>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

Add social links to the theme: the networks Ghost supports, and others through code injection.

The theme shows the social accounts you set in **Settings › General settings › Social accounts**.

It can also link these platforms, which Ghost has no field for:
- Discord
- GitHub
- Pinterest
- Reddit
- Telegram
- WhatsApp

To add one, put its link in **Settings › Advanced › Code injection › Site footer** ([what code injection is](https://brightthemes.com/blog/ghost-code-injection)). For example, for GitHub:

```html
<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

How the theme loads Prism.js only on posts tagged #syntax-highlight, and how to load it everywhere or change languages.

The theme highlights code with [Prism](https://prismjs.com/), the library our guide to [syntax highlighting in Ghost](https://brightthemes.com/blog/ghost-syntax-highlighting) 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

Translate the theme's own text into your language with its locale files, and add a language that's missing.

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**.

To change a translation, edit its file in the theme's `locales` directory:

```
|__ locales
|   |__ de.json
|   |__ en.json
|   |__ es.json
|   |__ fr.json
```

For 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](https://brightthemes.com/blog/ghost-theme-translations).

## Theme development

Set up the theme for local development: install the dependencies, run the build, and package the zip.

For changes beyond the design settings and [code injection](https://brightthemes.com/blog/ghost-code-injection), you can work on the theme's source. The theme is built with [Tailwind CSS](https://tailwindcss.com/) and [Alpine.js](https://alpinejs.dev/), and its assets are compiled and minified with [Vite](https://vitejs.dev/).

You need [Node.js](https://nodejs.org/) and a [local install of Ghost](https://brightthemes.com/blog/ghost-install#2-install-ghost-locally). 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:

1. `npm run dev` — runs the Vite dev server at `localhost: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 in `vite.config.js`.
2. `npm run build` — builds the assets once, into `assets/built/`.
3. `npm run test` — checks the theme with [GScan](https://gscan.ghost.org/), Ghost's own theme checker.
4. `npm run zip` — makes a zip of the theme in the `dist` directory, ready to upload.

Ghost's own [**Edit code**](https://brightthemes.com/blog/ghost-theme-code-editor) 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** ([what code injection is](https://brightthemes.com/blog/ghost-code-injection)). 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 30px tall in the header, the footer and on the sign-up and sign-in pages. Change the heights to your preference, for phones and for larger screens:

```html
<style>
  :root {
    --logo-h-mobile: 36px;
    --logo-h-desktop: 44px;
  }
</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?

```html
<style>
  :root {
    --container-site: 1200px;    /* the site's width (1280px) */
    --container-content: 720px;  /* the width of post text (680px) */
    --radius-theme: 4px;         /* the corners of cards and images (8px) */
    --radius-btn: 6px;           /* the corners of buttons and fields (30px) */
  }
</style>
```

### How to remove the color scheme button from the menu?

```html
<style>[data-color-scheme-toggle] { display: none !important; }</style>
```

### How to hide the reading progress bar?

```html
<style>[data-progress-bar] { display: none !important; }</style>
```

### How to hide a homepage section?

Unpublish its page (see [Homepage](https://brightthemes.com/docs/fumio#homepage)), or hide it by its name: `projects`, `services`, `clients`, `testimonials`, `team`, `faq`, `blog` or `topics`:

```html
<style>[data-section="faq"] { display: none !important; }</style>
```

## Upgrade to v2

What changes when you update a Fumio 1.x site to 2.0, and the steps to move it over.

We rebuilt Fumio for 2.0 on a new codebase, keeping its layout and look: a homepage built from pages you write in the Ghost editor, page templates for the members pages, Urbanist and Inter by default, and better keyboard and screen reader access. Almost 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 1.x:

- **Every post is work, unless it's tagged `#blog`.** `/projects/` lists every post without the `#blog` internal tag, and `/blog/` the posts with it. The `#project` tag is no longer read.
- **The homepage is built from pages.** Each section reads a page by its slug: `home-hero`, `home-projects`, `home-services`, `home-clients`, `home-testimonials`, `home-team`, `home-faq`, `home-blog` and `home-topics` (see [Homepage](https://brightthemes.com/docs/fumio#homepage)). The `#home-services`, `#home-clients`, `#home-testimonials`, `#home-authors`, `#home-faq`, `#home-blog` and `#home-tags` tags are no longer read: services are **Call to action** cards, the logos a **Gallery** card and testimonials **Product** cards, instead of tags.
- **The hero comes from the `home-hero` page.** **Hero headline** and **Hero description** are gone: the page's title is the headline and its excerpt the description. **Hero CTA** keeps `subscribe-form` and `none`; for a button, put a **Button** card in the page's content (`primary-cta` and the `#primary-cta` tag are gone).
- **The call to action above the footer comes from the `section-cta` page** instead of a page tagged `#secondary-cta` (see [Footer](https://brightthemes.com/docs/fumio#footer)).
- **The theme's own pages are pages with a template** instead of entries in `routes.yaml`: sign up, sign in, account, membership, authors, tags and recommendations (see [Pages](https://brightthemes.com/docs/fumio#pages)). The theme's `routes.yaml` keeps only the collections. The membership page without tiers (`members/membership.hbs`) is gone.
- **The post templates are renamed** from `custom-with-…` to `custom-post-with-…`, shown in Ghost as **Post With Background Image** and so on (see [Templates](https://brightthemes.com/docs/fumio#templates)). A post that used one shows the default layout until you pick its template again.
- **Search is Ghost's.** **Search type** and the custom search page (`/search/`) are gone; the search is in the menu.
- **The Font family setting is gone.** Urbanist and Inter are the defaults, Ghost's own typography settings replace them when set, and the new **UI font family** setting picks the font of the interface (see [Typography](https://brightthemes.com/docs/fumio#typography)).
- **Color scheme** takes lowercase values (`system`, `light`, `dark`). A site that set **Color scheme** before shows `system` until you pick it again.
- **The header has no account button.** **Account** and **Sign out** are in the menu.
- **The share buttons are gone.** A **Share** button above the post opens Ghost's share window, with the post's link and the networks to share it on.
- **Code injection names changed.** The CSS custom properties have new names (below), and class names such as `.header__brand` or `.menu__theme` are gone: style the `data-*` attributes instead, such as `[data-brand]` or `[data-color-scheme-toggle]`. The icon sprite (`assets/icons/icon-sprite.svg`) is gone: each icon is a file in `partials/icons/`.

| Before 2.0 | In 2.0 |
|---|---|
| `--color-primary` | the accent color in **Settings › Site › Design & branding › Brand** |
| `--color-text` | `--color-typ` |
| `--color-text-acc` | `--color-typ-tone` |
| `--color-bg`, `--color-bg-body` | `--color-bgr` |
| `--color-bg-acc` | `--color-bgr-tone` |
| `--color-border` | `--color-brd` |
| `--global-max-width` | `--container-site` |
| `--global-content-width` | `--container-content` |
| `--global-radius` | `--radius-theme` |
| `--global-radius-rounded` | `--radius-btn` |

The other `--global-…` properties (`--global-hero-title-color`, `--global-header-height`, `--global-progress-bar`, `--global-theme-notifications`) and `--color-tier-…` are gone, with nothing in their place.

### Move a site over

After you upload Fumio 2.0 in **Settings › Site › Theme › Change theme**:

1. Upload the new `routes.yaml` from the theme's zip in **Settings › Advanced › Labs** (see [Upload routes.yaml](https://brightthemes.com/docs/fumio#routes)). It takes out the members, authors, tags, recommendations and search routes.
2. In **Pages**, give the pages those routes used the matching **Template** in their page settings, or create them: `signup` (Template Signup), `signin` (Template Signin), `account` (Template Account), `membership` (Template Membership), and if your site uses them, `authors` (Template Authors), `tags` (Template Tags) and `recommendations` (Template Recommendations).
3. Add the `#blog` internal tag to your blog posts. The rest is work; you can remove `#project`.
4. Create the homepage's pages, moving your content into them: `home-hero` (the hero headline as its title, the description as its excerpt), `home-services` (a **Call to action** card per service), `home-clients` (a **Gallery** card of the logos), `home-testimonials` (a **Product** card per testimonial), `home-team` (the team as its authors), `home-faq` (the toggle cards from your FAQ page), `home-blog` and `home-topics` (the topics as its tags). Create only the ones you want; leave them out of your navigation.
5. To keep the call to action above the footer, create a page with the slug `section-cta`: its title the headline, its excerpt the text and a **Button** card for the action.
6. Pick the template again in **Post settings › Template** on the posts that used one of the post templates.
7. Remove `/search/` from your navigation if it was there. If you changed **Font family** or **Color scheme**, pick **UI font family** or **Color scheme** again. Update any code injection that uses the old names in the table above.

Something missing or unclear? Ask support: https://brightthemes.com/support
