eleventy
eleventy copied to clipboard
A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
I have a featuredProducts collection, from which I wish to output a carousel of images. My front matter includes the following… ``` --- carousel: - image: '/assets/img/img.jpg' imageAlt: 'text' -...
Hello! I think I am approaching this correctly and I *think* I am right on the edge of understanding it correctly, however please do direct me to the more sensible...
I'd like to be able to assign content in a Markdown source file to a Nunjucks block. page.njk: `{% block main %}{% endblock main %}` page.md: ` {% block main...
I love Eleventy and believe it's the best baseline approach for web based projects available. Something like Svelte/Sapper can be added to parts of a project later on so I...
Is there a way to generate a collection that contains all the files that are passthrough-copied to the output? I've tried adding tags to the data.json file for the directory,...
Based on https://www.11ty.dev/docs/layout-chaining/. If I understand correctly: 1. Markdown has "content" 1. It gets rendered in the markdown's layout. 1. If that layout is chained then its content is finally...
The items in the collection that contains `permalink: false` is still considered to be a next or previous post during 11ty rendering. **To Reproduce** Posts structure: ``` posts/post-a.md posts/post-b.md ->...
### Operating system macOS Sonoma 14.4.1 ### Eleventy 3.0.0 ### Describe the bug While Eleventy is building the site, it's not possible to kill the process with `Ctrl-C`. Only after...
**Describe the bug** When using a template data file (e.g. `books.json` for a `books.njk` template), I expect to be able to reference the data in my template in the same...
Hi, I want to render a partial template in a filter / a shortcode. How can I access the render engine inside a filter / shortcode? sth like ```js export...