{"id":16346330,"url":"https://github.com/ericalli/ghost-starter-tailwind","last_synced_at":"2025-11-08T09:30:28.756Z","repository":{"id":158416112,"uuid":"634050609","full_name":"ericalli/ghost-starter-tailwind","owner":"ericalli","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-03T22:04:19.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T02:43:26.869Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericalli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T22:54:39.000Z","updated_at":"2023-04-28T22:54:45.000Z","dependencies_parsed_at":"2024-02-01T15:05:57.228Z","dependency_job_id":null,"html_url":"https://github.com/ericalli/ghost-starter-tailwind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"TryGhost/Starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericalli%2Fghost-starter-tailwind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericalli%2Fghost-starter-tailwind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericalli%2Fghost-starter-tailwind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericalli%2Fghost-starter-tailwind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericalli","download_url":"https://codeload.github.com/ericalli/ghost-starter-tailwind/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239550272,"owners_count":19657541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T00:35:05.592Z","updated_at":"2025-11-08T09:30:28.714Z","avatar_url":"https://github.com/ericalli.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghost Starter Theme\n\nA 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.\n\n\u0026nbsp;\n\n## First time using a Ghost theme?\n\nGhost uses a simple templating language called [Handlebars](http://handlebarsjs.com/) for its themes.\n\nWe'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:\n\n- The official [theme documentation](https://ghost.org/docs/themes) is the complete resource for everything you need to know about Ghost theme development\n- [Tutorials](https://ghost.org/tutorials/) offer a step-by-step guide to building the most common features in Ghost themes\n- The [Ghost VS Code extension](https://marketplace.visualstudio.com/items?itemName=TryGhost.ghost) speeds up theme development and provides quick access to helpful info\n- All of Ghost's official themes are [open source](https://github.com/tryghost) and are a great reference for learning how to create a theme\n\n\u0026nbsp;\n\n## Starter theme features\n\n🔁\u0026nbsp;Livereload by default. See changes instantly in the browser whenever you save a file.\n\n🔎\u0026nbsp;Optimized for VS Code. Find the files you're looking for more easily.\n\n🗃️\u0026nbsp;Write modern JavaScript. Use ESM out of the box to write more manageable Javascript.\n\n🗜️\u0026nbsp;Assets optimized automatically. JavaScript and CSS are minified and transpiled by default.\n\n👟\u0026nbsp;Fast compile times, powered by [Rollup](https://rollupjs.org).\n\n🦋\u0026nbsp;Write next-gen CSS for today's browsers with [PostCSS](https://postcss.org/). Add the CSS tools you love via [`rollup.config.js`](rollup.config.js).\n\n🚢\u0026nbsp;Ghost's [GH Deploy Action](.github/workflows/deploy-theme.yml) included by default. [Learn more how to deploy your theme automatically](https://github.com/TryGhost/action-deploy-theme)\n\n➕\u0026nbsp;Extensible by design. Rollup's configuration structure makes it easy to add [any number of plugins easily](https://github.com/rollup/plugins). \n\n\u0026nbsp;\n\n## Theme structure\n\nThe main files are:\n\n- [`default.hbs`](default.hbs) - The main template file\n- [`index.hbs`](index.hbs) - Used for the home page\n- [`post.hbs`](post.hbs) - Used for individual posts\n- [`page.hbs`](page.hbs) - Used for individual pages\n- [`tag.hbs`](tag.hbs) - Used for tag archives\n- [`author.hbs`](author.hbs) - Used for author archives\n\nOne 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:\n\n- `page-about.hbs` - Custom template for the `/about/` page\n- `tag-news.hbs` - Custom template for `/tag/news/` archive\n- `author-jamie.hbs` - Custom template for `/author/jamie/` archive\n\n\u0026nbsp;\n\n## Development guide\n\nThe Starter theme provides a first-class development experience out of the box. \n\n\u0026nbsp;\n\n### Setup\n\nTo see realtime changes during development, symlink the Starter theme folder to the `content/themes` folder in your local Ghost install. \n\n```bash\nln -s /path/to/starter /ghost/content/themes/starter\n```\n\nRestart Ghost and select the Starter theme from **Settings**.\n\nFrom the theme's root directory, install the dependencies:\n\n```bash\nnpm install\n```\n\nIf Node isn't installed, follow the [official Node installation guide](https://nodejs.org/).\n\n\u0026nbsp;\n\n### Start development mode\n\nFrom the Starter theme folder, start development mode:\n\n```bash\nnpm run dev\n```\n\nChanges 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.\n\nPress `ctrl + c` in the terminal to exit development mode.\n\n\u0026nbsp;\n\n### Build, zip, and test your theme\n\nCompile your CSS and JavaScript assets for production with the following command:\n\n```bash\nnpm run build\n```\n\nCreate a zip archive:\n\n```bash\nnpm run zip\n```\n\nUse `gscan` to test your theme for compatibility with Ghost:\n\n```bash\nnpm run test\n```\n\n\u0026nbsp;\n\n\n\n## Copyright \u0026 License\n\nCopyright (c) 2013-2023 Ghost Foundation - Released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericalli%2Fghost-starter-tailwind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericalli%2Fghost-starter-tailwind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericalli%2Fghost-starter-tailwind/lists"}