{"id":20098391,"url":"https://github.com/wikibonsai/eleventy-bloomz","last_synced_at":"2025-05-06T05:32:06.120Z","repository":{"id":166588981,"uuid":"608748332","full_name":"wikibonsai/eleventy-bloomz","owner":"wikibonsai","description":"A starter project for a WikiBonsai digital garden using the Eleventy static site generator.","archived":false,"fork":false,"pushed_at":"2024-09-13T21:47:52.000Z","size":1083,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T09:11:16.088Z","etag":null,"topics":["bidirectional-link","eleventy","internal-link","semantic-tree","wikibonsai","wikilink","wikiref"],"latest_commit_sha":null,"homepage":"https://eleventy-wikibonsai.netlify.app/","language":"JavaScript","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/wikibonsai.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":"2023-03-02T16:52:47.000Z","updated_at":"2024-09-30T21:52:15.000Z","dependencies_parsed_at":"2024-09-14T13:07:45.713Z","dependency_job_id":"3790ee85-eb74-4918-b8d4-1428b96bbdde","html_url":"https://github.com/wikibonsai/eleventy-bloomz","commit_stats":null,"previous_names":["wikibonsai/eleventy-wikibonsai","wikibonsai/eleventy-bloomz"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikibonsai%2Feleventy-bloomz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikibonsai%2Feleventy-bloomz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikibonsai%2Feleventy-bloomz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikibonsai%2Feleventy-bloomz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wikibonsai","download_url":"https://codeload.github.com/wikibonsai/eleventy-bloomz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252629215,"owners_count":21779167,"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":["bidirectional-link","eleventy","internal-link","semantic-tree","wikibonsai","wikilink","wikiref"],"created_at":"2024-11-13T17:03:31.179Z","updated_at":"2025-05-06T05:32:04.865Z","avatar_url":"https://github.com/wikibonsai.png","language":"JavaScript","funding_links":["https://opencollective.com/11ty"],"categories":[],"sub_categories":[],"readme":"# Eleventy-Bloomz\n\n[![A WikiBonsai Project](https://img.shields.io/badge/%F0%9F%8E%8B-A%20WikiBonsai%20Project-brightgreen)](https://github.com/wikibonsai/wikibonsai)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./img/eleventy-logo.svg\" width=\"150\" height=\"150\"/\u003e\n  \u003cimg src=\"./img/bloomz.svg\" width=\"150\" height=\"150\"/\u003e\n\u003c/p\u003e\n\nAn [11ty template](https://github.com/11ty/eleventy-base-blog) with [WikiBonsai](https://github.com/wikibonsai/wikibonsai) support.\n\nYou can see the live demo [here](https://eleventy-bloomz.netlify.app/).\n\n🌸 Share bloomz from your [🎋 WikiBonsai](https://github.com/wikibonsai/wikibonsai) digital garden.\n\n## Getting Started\n\n### 1. Clone this Repository\n\n```\ngit clone https://github.com/wikibonsai/eleventy-bloomz.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. Run\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## 🪴 Project Structure\n\nInside of your Eleventy-Bloomz project, you'll see the following folders and files:\n\n```text\n├── _data/\n├── _includes/\n│   └── layouts/\n├── content/\n├── css/\n├── img/\n├── wikibonsai/\n├── .eleventy.js\n├── .eleventyignore\n├── README.md\n└── package.json\n```\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## 🧚 Commands\n\nAll commands are run from the root of the project, from a terminal:\n\n| Command                   | Action                                           |\n| :------------------------ | :----------------------------------------------- |\n| `npm install`             | Installs dependencies                            |\n| `npm run build`           | Build your production site to `./dist/`          |\n| `npm run bench`           | Run benchmarks                                   |\n| `npm run watch`           | Preview your build locally, watch for changes    |\n| `npm run serve`           | Starts local dev server at `localhost:4321`      |\n| `npm run start`           | Preview your build locally, before deploying     |\n| `npm run debug`           | Run in debug mode                                |\n\n## 👀 Want to learn more?\n\nCheck out the [eleventy documentation](https://www.11ty.dev/docs/local-installation/) or [WikiBonsai documentation](https://github.com/wikibonsai/wikibonsai/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikibonsai%2Feleventy-bloomz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwikibonsai%2Feleventy-bloomz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikibonsai%2Feleventy-bloomz/lists"}