This theme has been created by using Casper as a starting point but removing much of the original theme's code.
Ghost uses a simple templating language called Handlebars for its themes.
The official theme API documentation explains every possible Handlebars helper and template.
Also, you read my explanation on my blog
The main files are:
default.hbs
- The parent template file, which includes your global header/footerindex.hbs
- The main template to generate a list of posts, usually the home pagepost.hbs
- The template used to render individual postspage.hbs
- Used for individual pagestag.hbs
- Used for tag archives, eg. "all posts tagged withnews
"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:
tag-example-tag.hbs
- Custom template for/tag/example-tag/
archiveauthor-christopher.hbs
- Custom template for/author/christopher/
archive