{"id":16031909,"url":"https://github.com/dckc/capsite","last_synced_at":"2025-04-05T04:42:56.327Z","repository":{"id":136540992,"uuid":"576140531","full_name":"dckc/capsite","owner":"dckc","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-09T06:48:42.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T20:15:01.580Z","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/dckc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"11ty"}},"created_at":"2022-12-09T05:12:29.000Z","updated_at":"2022-12-09T05:13:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"eea82a78-7b32-4175-a271-49b2316df97e","html_url":"https://github.com/dckc/capsite","commit_stats":{"total_commits":222,"total_committers":33,"mean_commits":"6.7272727272727275","dds":"0.29729729729729726","last_synced_commit":"8d9120af0af01ab7d55da3a23d4a2553442e569a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Fcapsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Fcapsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Fcapsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Fcapsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dckc","download_url":"https://codeload.github.com/dckc/capsite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289394,"owners_count":20914464,"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-08T21:07:11.385Z","updated_at":"2025-04-05T04:42:56.299Z","avatar_url":"https://github.com/dckc.png","language":"Nunjucks","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","funding_links":["https://opencollective.com/11ty"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckc%2Fcapsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdckc%2Fcapsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckc%2Fcapsite/lists"}