eleventy
eleventy copied to clipboard
A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
I'm trying to create a set of example pages where each page might consist of a .md, .html, and .js file. The .html and .js files are the example content...
I need to know how can I check in a njk file if another file with a variable name exists. I have the following content source tree: ``` content/ -...
> _"Not really a question, more of a comment(tm)…"_ [[email protected]](https://github.com/harttle/liquidjs/issues/188) was released today and they now expose their filter implementations, so it looks like you can now use `eleventyConfig.addNunjucksFilter()` to...
Hi How do I read the `eleventyConfig` while in a *.js Global Data File? I'm trying to find the value of the Output Directory (i.e. the config that is `'_site'`...
I'm trying to use eleventy for generating documentation pages based on markdown content and I'm running into issues with the urls: - Relative urls to images: I have links like...
I'm trying to figure out a way to create a set of pages that organise content into a calendar type structure. /archives/2020/01/01/index.html - Has all the posts from that day...
In a blog post I want to reference other related blog posts - reading recommendations. I want to specify the related posts in the frontmatter. But how to lookup the...
I have a `collections.postsByCategory` which takes my `collections.posts` and returns a 2 dimensional array of those posts grouped by the `fileSlug` of the associated category. This works great to build...
I've got 1,800 posts ported over from a WordPress install and have figured out that I can adjust permalinks by editing the `posts.json` file in the /posts/ directory. What I'd...