How to install, set up and customize the Fumio 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
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. - 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
## 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
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 |
|---|---|---|
| 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. More in keeping your design settings.
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 and the 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.
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 (set your Ghost site URL to open it in your Ghost Admin)).
- Hero image style — where the image goes:
background,background-full(the full width of the window),side,bottomorhidden(default) - Hero CTA —
subscribe-form(default) shows a subscribe form under the hero, for visitors who aren’t members;noneshows nothing
Latest work
Every post is work unless it has the #blog internal tag (see 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.
- Project feed layout —
grid,asymmetric-grid(default),list,asymmetric-listoralternating-list, here and on/projects/ - Max project count — how many projects the homepage shows:
1to6(default6) - 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).
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).
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).
Header
The header shows the publication logo (or the site title), the navigation from Settings › Site › Navigation (set your Ghost site URL to open it in your Ghost Admin), 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.
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).
- Header position —
normal(default) scrolls the header with the page;stickykeeps it at the top;floatinghides 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. The theme’s sign-up, sign-in and account links go to its own pages; to use Ghost’s Portal instead, see 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).
Footer
Above the footer, the homepage and posts show the 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 (set your Ghost site URL to open it in your Ghost Admin), the 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).
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, 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 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 ispartials/sidebar.hbs - Post With Table Of Contents And Sidebar (
custom-post-with-table-of-contents-and-sidebar.hbs) — a 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).
The page templates (Signup, Membership…) are described under Pages.
Post settings
- 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),Cove,DisqusorNone(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:
- 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, 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.
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 (set your Ghost site URL to open it in your Ghost Admin). 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 (set your Ghost site URL to open it in your Ghost Admin), 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, not pages. /projects/ uses the Project feed layout of the 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:
/blog/:
permalink: /{slug}/
template: blog
data: page.blog
filter: tag:hash-blogCaution
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).
Portal links
The theme comes with its own sign-up, sign-in, account and membership 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 (set your Ghost site URL to open it in your Ghost Admin), choose Customize, then the Links tab.
Change the following files:
partials/header.hbs- the Subscribe button: add
data-portal="signup"afterhref="{{@site.url}}/signup/" - the Sign in button (invite-only sites): add
data-portal="signin"afterhref="{{@site.url}}/signin/"
- the Subscribe button: add
partials/menu.hbs- the Account button: add
data-portal="account"afterhref="{{@site.url}}/account/" - the Sign in link after “Already have an account?”: add
data-portal="signin"afterhref="{{@site.url}}/signin/"
- the Account button: add
partials/content-cta.hbs(the box on members-only and paid posts)- the Subscribe button: add
data-portal="signup"afterhref="{{@site.url}}/signup/" - the Sign in link: add
data-portal="signin"afterhref="{{@site.url}}/signin/"
- the Subscribe button: add
partials/sidebar.hbs- the Upgrade button: add
data-portal="account/plans"afterhref="{{@site.url}}/membership/"
- the Upgrade button: add
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 (set your Ghost site URL to open it in your Ghost Admin). The theme picks black or white text for it, whichever reads better.
- Color scheme —
system(default) follows the reader’s device setting,lightordark. 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, ordots,linesandgraph-paperin 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 (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: 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:
<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:
<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 (opens in a new tab), Coolors contrast checker (opens in a new tab).
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.
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 Urbanist (opens in a new tab) for headings and Inter (opens in a new tab) for the body text. 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, labels and post info):
body(default) — the body fontheading— the heading fontsystem— the reader’s system font, with nothing to downloadserif— the reader’s system serif fontmono— the reader’s system monospace font
To use Google Fonts from your own server, see self-hosting Google Fonts.
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).
Table of contents
The table of contents is built from the post’s headings with the Tocbot (opens in a new tab) 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:
- With the Post With Table Of Contents And Sidebar template (
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. - 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
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": 6
}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": {
"xxs": {
"width": 30
},
"xs": {
"width": 100
},
"s": {
"width": 300
},
"m": {
"width": 600
},
"l": {
"width": 1000
},
"xl": {
"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 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:
<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?
<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?
<style>[data-color-scheme-toggle] { display: none !important; }</style>How to hide the reading progress bar?
<style>[data-progress-bar] { display: none !important; }</style>How to hide a homepage section?
Unpublish its page (see Homepage), or hide it by its name: projects, services, clients, testimonials, team, faq, blog or topics:
<style>[data-section="faq"] { display: none !important; }</style>Upgrade to v2
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#bloginternal tag, and/blog/the posts with it. The#projecttag 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-blogandhome-topics(see Homepage). The#home-services,#home-clients,#home-testimonials,#home-authors,#home-faq,#home-blogand#home-tagstags 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-heropage. Hero headline and Hero description are gone: the page’s title is the headline and its excerpt the description. Hero CTA keepssubscribe-formandnone; for a button, put a Button card in the page’s content (primary-ctaand the#primary-ctatag are gone). - The call to action above the footer comes from the
section-ctapage instead of a page tagged#secondary-cta(see 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). The theme’sroutes.yamlkeeps only the collections. The membership page without tiers (members/membership.hbs) is gone. - The post templates are renamed from
custom-with-…tocustom-post-with-…, shown in Ghost as Post With Background Image and so on (see 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).
- Color scheme takes lowercase values (
system,light,dark). A site that set Color scheme before showssystemuntil 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__brandor.menu__themeare gone: style thedata-*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 inpartials/icons/.
| Before 2.0 | In 2.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-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 (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 members, authors, tags, recommendations and search routes. - 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) andrecommendations(Template Recommendations). - Add the
#bloginternal tag to your blog posts. The rest is work; you can remove#project. - 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-blogandhome-topics(the topics as its tags). Create only the ones you want; leave them out of your navigation. - 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. - Pick the template again in Post settings › Template on the posts that used one of the post templates.
- 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.