eleventy
eleventy copied to clipboard
A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
After migrating to eleventy 1.x and updating the postCSS configuration accordingly, build fails with a warning about a ``` [11ty] Problem writing Eleventy templates: (more in DEBUG output) [11ty] Output...
I appreciate this is a non-trivial feature suggestion. I don't think it's been suggested yet (search for "theme" didn't find anything) so logging it: It would be great to have...
Some shortcodes would greatly benefits from accessing eleventy configuration, like [`eleventy-img` with `pathprefix`](https://github.com/11ty/eleventy-img/issues/44). In the same way we could [access `page.data`](https://www.11ty.dev/docs/languages/nunjucks/#access-to-page-data-values) in shortcodes, exposing a `this.config` could help tweak shortcode...
Allow more extensions to be treated at the `11ty.js` template engine. This builds on the work of #2249 and solves #2248. A user could run Eleventy via `ts-node` or `esbuild-register`...
I think right now it’s only set via `process.env.AWS_LAMBDA_FUNCTION_NAME` which is not quite good enough
**Is your feature request related to a problem? Please describe.** I've build a server-side component system using Nunjucks. There is a method that dynamically generates shortcodes based on components within...
Thinking https://www.11ty.dev/docs/config/#transforms and linters and `before` callback in Pagination (#1209). This will be important before 1.0 release to avoid any breaking changes. I’d like the metadata available in `this` to...
**Describe the bug** Imagine a directory, named `posts`, and inside there I'm using a data directory file to dynamically set the `tags` value based on front matter: ```js module.exports =...
### Discussed in https://github.com/11ty/eleventy/discussions/3193 Originally posted by **btrem** February 7, 2024 I have several plugins in my site setup, which are listed in the `eleventyConfig` in a `plugins` array (shortened...
I just used eslint’s `--fix` option for a single rule, `prefer-const`. **Rationale:** From the [`prefer-const`](https://eslint.org/docs/latest/rules/prefer-const) page: > If a variable is never reassigned, using the `const` declaration is better. >...