{"id":15931527,"url":"https://github.com/zachleat/eleventy-netlify-test","last_synced_at":"2025-03-16T12:46:51.650Z","repository":{"id":137955908,"uuid":"118999439","full_name":"zachleat/eleventy-netlify-test","owner":"zachleat","description":"(Do Not Use This Repo) A demo of Netlify deploy of the eleventy-base-blog start project for Eleventy.","archived":false,"fork":false,"pushed_at":"2018-01-26T03:14:40.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T00:41:17.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/11ty/eleventy-base-blog","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/zachleat.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":"2018-01-26T03:14:13.000Z","updated_at":"2018-01-26T03:19:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"679a2d9f-42fa-4e09-a3c8-c0c0490d17f6","html_url":"https://github.com/zachleat/eleventy-netlify-test","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":"0.050000000000000044","last_synced_commit":"950580a2a814ee7a46a537898a0488b66db6f640"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Feleventy-netlify-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Feleventy-netlify-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Feleventy-netlify-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Feleventy-netlify-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachleat","download_url":"https://codeload.github.com/zachleat/eleventy-netlify-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871652,"owners_count":20361378,"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-07T01:21:27.956Z","updated_at":"2025-03-16T12:46:51.626Z","avatar_url":"https://github.com/zachleat.png","language":"CSS","funding_links":[],"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## [Live Demo](https://11ty.github.io/eleventy-base-blog/)\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\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 eleventy\n```\n\nOr build automatically when a template changes:\n```\nnpx eleventy --watch\n```\n\nOr in debug mode:\n```\nDEBUG=* npx 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* Add the `nav` tag 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\t* Because `css` and `png` are listed in `templateFormats` but are not supported template types, any files with these extensions will be copied without modification to the output (while keeping the same directory structure).\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.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachleat%2Feleventy-netlify-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachleat%2Feleventy-netlify-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachleat%2Feleventy-netlify-test/lists"}