No description
  • CSS 48.5%
  • Handlebars 40.8%
  • JavaScript 10.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
illumi241 f6704f861e
All checks were successful
Build theme / build (push) Successful in 39s
Release QEM tag / release (push) Successful in 39s
Auto-release upstream versions in sync; build.yml CI-only; -qem tags for local releases
2026-08-04 13:48:03 +02:00
.forgejo/workflows Auto-release upstream versions in sync; build.yml CI-only; -qem tags for local releases 2026-08-04 13:48:03 +02:00
.github/workflows Renamed CI gate job to the org-standard "Required checks pass" 2026-07-06 11:22:58 +04:00
assets Apply QuadRadEntscheid customizations 2026-08-04 12:56:54 +02:00
locales Updated translations package to 0.0.19 (#147) 2026-05-30 14:22:55 -05:00
partials Apply QuadRadEntscheid customizations 2026-08-04 12:56:54 +02:00
.gitattributes Switch Source theme from Yarn to pnpm (#164) 2026-06-16 07:59:44 -04:00
.gitignore Initial commit 2023-07-05 20:43:09 +08:00
AGENTS.md Switch Source theme from Yarn to pnpm (#164) 2026-06-16 07:59:44 -04:00
author.hbs Added social links support 2026-05-21 19:06:13 +08:00
CLAUDE.md Added theme CI gate and agent docs 2026-06-15 17:25:29 +04:00
custom-supportus-page.hbs Apply QuadRadEntscheid customizations 2026-08-04 12:56:54 +02:00
default.hbs 🌐 Make the Source theme translatable (#123) 2026-03-04 16:40:25 -05:00
gulpfile.js Switch Source theme from Yarn to pnpm (#164) 2026-06-16 07:59:44 -04:00
home.hbs Various improvements 2023-09-18 17:50:05 +08:00
index.hbs Various improvements 2023-09-18 17:50:05 +08:00
LICENSE 2026 2026-01-21 13:19:33 +00:00
package.json Set default navigation layout to Logo on the left 2026-08-04 13:39:44 +02:00
page.hbs Bug fixes 2023-08-07 19:58:36 +08:00
pnpm-lock.yaml Lock file maintenance (#195) 2026-08-03 03:53:59 +00:00
pnpm-workspace.yaml Switch Source theme from Yarn to pnpm (#164) 2026-06-16 07:59:44 -04:00
post.hbs Fixed translation for share button (#137) 2026-04-15 18:49:36 +02:00
qem-home.hbs Apply QuadRadEntscheid customizations 2026-08-04 12:56:54 +02:00
README.md Switch Source theme from Yarn to pnpm (#164) 2026-06-16 07:59:44 -04:00
renovate.json Adopt the shared Renovate theme preset 2026-06-03 12:40:25 +04:00
tag.hbs Various improvements 2023-09-18 17:50:05 +08:00

Source

The default theme for Ghost. This is the latest development version of Source! If you're just looking to download the latest release, head over to the releases page.

 

First time using a Ghost theme?

Ghost uses a simple templating language called Handlebars for its themes.

This theme has lots of code comments to help explain what's going on just by reading the code. Once you feel comfortable with how everything works, we also have full theme API documentation which explains every possible Handlebars helper and template.

The main files are:

  • default.hbs - The parent template file, which includes your global header/footer
  • home.hbs - The homepage
  • index.hbs - The main template to generate a list of posts
  • post.hbs - The template used to render individual posts
  • page.hbs - Used for individual pages
  • tag.hbs - Used for tag archives, eg. "all posts tagged with news"
  • author.hbs - Used for author archives, eg. "all posts written by Jamie"

One neat trick is that you can also create custom one-off templates by adding the slug of a page to a template file. For example:

  • page-about.hbs - Custom template for an /about/ page
  • tag-news.hbs - Custom template for /tag/news/ archive
  • author-ali.hbs - Custom template for /author/ali/ archive

Development

Source styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need Node and pnpm. After that, from the theme's root directory:

# install dependencies
pnpm install

# run development server
pnpm dev

Now you can edit /assets/css/ files, which will be compiled to /assets/built/ automatically.

The zip Gulp task packages the theme files into dist/<theme-name>.zip, which you can then upload to your site.

# create .zip file
pnpm zip

PostCSS Features Used

  • Autoprefixer - Don't worry about writing browser prefixes of any kind, it's all done automatically with support for the latest 2 major versions of every browser.

SVG Icons

Source uses inline SVG icons, included via Handlebars partials. You can find all icons inside /partials/icons. To use an icon just include the name of the relevant file, eg. To include the SVG icon in /partials/icons/rss.hbs - use {{> "icons/rss"}}.

You can add your own SVG icons in the same manner.

Translations

Please see @TryGhost/Themes/theme-translations/README.md for how to build, edit, or contribute translations.

Copyright & License

Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.