{"id":13427292,"url":"https://github.com/TryGhost/eleventy-starter-ghost","last_synced_at":"2025-03-15T22:32:38.488Z","repository":{"id":41105551,"uuid":"196987768","full_name":"TryGhost/eleventy-starter-ghost","owner":"TryGhost","description":"A starter template to build websites with Ghost \u0026 Eleventy","archived":false,"fork":false,"pushed_at":"2025-03-03T14:55:04.000Z","size":1059,"stargazers_count":356,"open_issues_count":21,"forks_count":167,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-10T19:15:23.101Z","etag":null,"topics":["11ty","boilerplate","eleventy","eleventy-sample","eleventy-theme","ghost","jamstack","netlify","netlify-template","static-site"],"latest_commit_sha":null,"homepage":"https://eleventy.ghost.org","language":"Nunjucks","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/TryGhost.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},"funding":{"github":"tryghost","open_collective":"ghost"}},"created_at":"2019-07-15T11:43:52.000Z","updated_at":"2025-02-16T18:37:49.000Z","dependencies_parsed_at":"2024-03-06T11:01:08.195Z","dependency_job_id":"e9114bfc-5e4e-4951-af78-0b5c2836d336","html_url":"https://github.com/TryGhost/eleventy-starter-ghost","commit_stats":{"total_commits":154,"total_committers":10,"mean_commits":15.4,"dds":0.5454545454545454,"last_synced_commit":"72b21d242bea8a6a2d301e6a4ce47bc738f3d7e0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Feleventy-starter-ghost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Feleventy-starter-ghost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Feleventy-starter-ghost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Feleventy-starter-ghost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TryGhost","download_url":"https://codeload.github.com/TryGhost/eleventy-starter-ghost/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243690163,"owners_count":20331729,"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":["11ty","boilerplate","eleventy","eleventy-sample","eleventy-theme","ghost","jamstack","netlify","netlify-template","static-site"],"created_at":"2024-07-31T00:01:58.879Z","updated_at":"2025-03-15T22:32:38.468Z","avatar_url":"https://github.com/TryGhost.png","language":"Nunjucks","funding_links":["https://github.com/sponsors/tryghost","https://opencollective.com/ghost"],"categories":["Nunjucks","Starter Projects","others","Starter projects"],"sub_categories":[],"readme":"# Eleventy Starter Ghost\n\nA starter template to build completely static websites with [Ghost](https://ghost.org) \u0026 [Eleventy](https://www.11ty.io)\n\n**Demo:** https://eleventy.ghost.org\n\n![screenshot](https://user-images.githubusercontent.com/1177460/61880744-5b138980-aeed-11e9-9d8e-07c0b3c03cc5.png)\n\n# Installing\n\n```bash\n# From Source\ngit clone https://github.com/TryGhost/eleventy-starter-ghost.git\ncd eleventy-starter-ghost\n```\n\nThen install dependencies\n\n```bash\nyarn\n```\n\n# Running\n\nStart the development server\n\n```bash\nyarn start\n```\n\nYou now have a completely static site pulling content from Ghost running as a headless CMS.\n\nBy default, the starter will populate content from a default Ghost install located at https://eleventy.ghost.io.\n\nTo use your own install, edit the `.env` config file with your credentials. You can find your `contentApiKey` in the \"Integrations\" screen in Ghost Admin. The minimum required version for Ghost is `2.10.0` in order to use this starter without issues.\n\n# Deploying with Netlify\n\nThe starter contains three config files specifically for deploying with Netlify. A `netlify.toml` file for build settings, a `headers.njk` file with default security headers set for all routes (builds to `/_headers` path), and `redirects.njk` to set Netlify custom domain redirects (builds to `/_redirects` path).\n\nTo deploy to your Netlify account, hit the button below.\n\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/TryGhost/eleventy-starter-ghost)\n\nContent API Keys are generally not considered to be sensitive information, they exist so that they can be changed in the event of abuse; so most people commit it directly to their `.env` config file. If you prefer to keep this information out of your repository you can remove this config and set [Netlify ENV variables](https://www.netlify.com/docs/continuous-deployment/#build-environment-variables) for production builds instead.\n\nOnce deployed, you can set up a [Ghost + Netlify Integration](https://docs.ghost.org/integrations/netlify/) to use deploy hooks from Ghost to trigger Netlify rebuilds. That way, any time data changes in Ghost, your site will rebuild on Netlify.\n\n# Optimising\n\nYou can disable the default Ghost Handlebars Theme front-end by enabling the `Make this site private` flag within your Ghost settings. This enables password protection in front of the Ghost install and sets `\u003cmeta name=\"robots\" content=\"noindex\" /\u003e` so your Eleventy front-end becomes the source of truth for SEO.\n\n# Extra options\n\n```bash\n# Build the site locally\nyarn build\n```\n\n# Copyright \u0026 License\n\nCopyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTryGhost%2Feleventy-starter-ghost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTryGhost%2Feleventy-starter-ghost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTryGhost%2Feleventy-starter-ghost/lists"}