TryGhost/Starter — 495★ trên GitHub (CSS). A development starter theme for Ghost
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A starter framework for Ghost themes! Click Use this template to create a copy of this repo for everything you need to get started developing a custom Ghost theme.
First time using a Ghost theme?
Ghost uses a simple templating language called Handlebars for its themes.
We've documented this starter theme pretty heavily so that it should be possible to work out what's going on just by reading the code and the comments. We also have a robust set of resources to help you build awesome custom themes:
The official theme documentation is the complete resource for everything you need to know about Ghost theme development
Tutorials offer a step-by-step guide to building the most common features in Ghost themes
The Ghost VS Code extension speeds up theme development and provides quick access to helpful info
All of Ghost's official themes are open source and are a great reference for learning how to create a theme
Starter theme features
🔁 Livereload by default. See changes instantly in the browser whenever you save a file.
🔎 Optimized for VS Code. Find the files you're looking for more easily.
🗃️ Write modern JavaScript. Use ESM out of the box to write more manageable Javascript.
🗜️ Assets optimized automatically. JavaScript and CSS are minified and transpiled by default.
👟 Fast compile times, powered by Rollup.
🦋 Write next-gen CSS for today's browsers with PostCSS. Add the CSS tools you love via rollup.config.js.
🚢 Ghost's GH Deploy Action included by default. Learn more how to deploy your theme automatically
➕ Extensible by design. Rollup's configuration structure makes it easy to add any number of plugins easily.
Theme structure
The main files are:
default.hbs - The main template file
index.hbs - Used for the home page
post.hbs - Used for individual posts
page.hbs - Used for individual pages
tag.hbs - Used for tag archives
author.hbs - Used for author archives
One neat trick is that you can also create custom one-off templates just by adding the slug of a page to a template file. For example:
page-about.hbs - Custom template for the /about/ page
tag-news.hbs - Custom template for /tag/news/ archive
author-jamie.hbs - Custom template for /author/jamie/ archive
Development guide
The Starter theme provides a first-class development experience out of the box.
Setup
To see realtime changes during development, symlink the Starter theme folder to the content/themes folder in your local Ghost install.
Restart Ghost and select the Starter theme from Settings.
From the theme's root directory, install the dependencies:
pnpm install
If Node isn't installed, follow the official Node installation guide.
Start development mode
From the Starter theme folder, start development mode:
pnpm dev
Changes you make to your styles, scripts, and Handlebars files will show up automatically in the browser. CSS and Javascript will be compiled and output to the built folder.
Press ctrl + c in the terminal to exit development mode.
Build, zip, and test your theme
Compile your CSS and JavaScript assets for production with the following command:
pnpm build
Create a zip archive:
pnpm zip
Use gscan to test your theme for compatibility with Ghost:
pnpm test
Copyright & License
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/TryGhost/Starter là nguồn chính thức.
TryGhost/Starter có bao nhiêu sao?
TryGhost/Starter có 495 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/TryGhost/Starter. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
TryGhost/Starter có phải mã nguồn mở không?
Có — TryGhost/Starter phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/TryGhost/Starter.
TryGhost/Starter còn đang phát triển không?
Commit gần nhất trên TryGhost/Starter là hôm nay (theo timestamp GitHub). Repo có 233 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
TryGhost/Starter là gì?
TryGhost/Starter (TryGhost/Starter) là dự án CSS trên GitHub. Theo mô tả gốc: A development starter theme for Ghost
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về Starter?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về Starter.