{"id":22038741,"url":"https://github.com/defite/11ty-ghost","last_synced_at":"2026-05-06T06:33:14.379Z","repository":{"id":50658726,"uuid":"519760572","full_name":"Defite/11ty-ghost","owner":"Defite","description":"Blog built with Eleventy and Ghost","archived":false,"fork":false,"pushed_at":"2022-07-31T11:45:43.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-28T19:15:59.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Defite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"open_collective":"11ty"}},"created_at":"2022-07-31T11:45:42.000Z","updated_at":"2022-07-31T11:45:46.000Z","dependencies_parsed_at":"2022-09-18T11:50:26.497Z","dependency_job_id":null,"html_url":"https://github.com/Defite/11ty-ghost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"11ty/eleventy-base-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defite%2F11ty-ghost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defite%2F11ty-ghost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defite%2F11ty-ghost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defite%2F11ty-ghost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Defite","download_url":"https://codeload.github.com/Defite/11ty-ghost/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245104460,"owners_count":20561377,"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-11-30T11:07:35.877Z","updated_at":"2025-10-10T03:11:22.557Z","avatar_url":"https://github.com/Defite.png","language":"Nunjucks","funding_links":["https://opencollective.com/11ty"],"categories":[],"sub_categories":[],"readme":"# eleventy-base-blog\n\nA starter repository showing how to build a blog with the [Eleventy](https://github.com/11ty/eleventy) static site generator.\n\n[![Build Status](https://travis-ci.org/11ty/eleventy-base-blog.svg?branch=master)](https://travis-ci.org/11ty/eleventy-base-blog)\n\n## Demos\n\n- [Netlify](https://eleventy-base-blog.netlify.com/)\n- [GitHub Pages](https://11ty.github.io/eleventy-base-blog/)\n- [Remix on Glitch](https://glitch.com/~11ty-eleventy-base-blog)\n\n## Deploy this to your own site\n\nDeploy this Eleventy site in just a few clicks on these services:\n\n- [Get your own Eleventy web site on Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/11ty/eleventy-base-blog)\n- [Get your own Eleventy web site on Vercel](https://vercel.com/import/project?template=11ty%2Feleventy-base-blog)\n\nOr, read more about [Deploying an Eleventy project](https://www.11ty.dev/docs/deployment/).\n\n## Getting Started\n\n### 1. Clone this Repository\n\n```\ngit clone https://github.com/11ty/eleventy-base-blog.git my-blog-name\n```\n\n### 2. Navigate to the directory\n\n```\ncd my-blog-name\n```\n\nSpecifically have a look at `.eleventy.js` to see if you want to configure any Eleventy options differently.\n\n### 3. Install dependencies\n\n```\nnpm install\n```\n\n### 4. Edit \\_data/metadata.json\n\n### 5. Run Eleventy\n\n```\nnpx @11ty/eleventy\n```\n\nOr build and host locally for local development\n\n```\nnpx @11ty/eleventy --serve\n```\n\nOr build automatically when a template changes:\n\n```\nnpx @11ty/eleventy --watch\n```\n\nOr in debug mode:\n\n```\nDEBUG=* npx @11ty/eleventy\n```\n\n### Implementation Notes\n\n- `about/index.md` shows how to add a content page.\n- `posts/` has the blog posts but really they can live in any directory. They need only the `post` tag to be added to this collection.\n- Use the `eleventyNavigation` key in your front matter to add a template to the top level site navigation. For example, this is in use on `index.njk` and `about/index.md`.\n- Content can be any template format (blog posts needn’t be markdown, for example). Configure your supported templates in `.eleventy.js` -\u003e `templateFormats`.\n- The `css` and `img` directories in the input directory will be copied to the output folder (via `addPassthroughCopy()` in the `.eleventy.js` file).\n- The blog post feed template is in `feed/feed.njk`. This is also a good example of using a global data files in that it uses `_data/metadata.json`.\n- This example uses three layouts:\n  - `_includes/layouts/base.njk`: the top level HTML structure\n  - `_includes/layouts/home.njk`: the home page template (wrapped into `base.njk`)\n  - `_includes/layouts/post.njk`: the blog post template (wrapped into `base.njk`)\n- `_includes/postlist.njk` is a Nunjucks include and is a reusable component used to display a list of all the posts. `index.njk` has an example of how to use it.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefite%2F11ty-ghost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefite%2F11ty-ghost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefite%2F11ty-ghost/lists"}