eleventy icon indicating copy to clipboard operation
eleventy copied to clipboard

A simpler site generator. Transforms a directory of templates (of varying types) into HTML.

Results 415 eleventy issues
Sort by recently updated
recently updated
newest added

Implementing a good service worker has been one of the most difficult things I have done recently. I wanted a service worker that: 1) Caches all assets 2) Caches the...

education

Is there a way to render from markdown to html href link path based on the input folder e.g. `/posts/some-post` and not just `/some-post`? All my posts are stored in...

education

I have data objects that reference other data objects. For example: ``` [ { "_id": "object A id", "key1": "value1", "linked": [ { "_id": "_object B id" } ... ```...

education

Is there a way to automatically have all subfolders in a folder get a tag assigned that is that subfolders slug? Currently I have to add a `subfolder.11tydata.json` to each...

education

I have a global data file from [Pinboard](https://pinboard.in/api/). Here's an example of what that looks like: ``` { "href":"http://gt-eesti.com/", "description":"GT Eesti", "extended":"This specimen is delightful. From the bold, large letters...

education

I'm converting a traditional website to 11ty. The site has a page listing all staff members and then 3 office location pages with the specific staff members that work there...

education

I have this nested section -> ``` content/ |_blog/ | |_index.md |_poem/ |_2020 |_2020.json |_new-poem.md ``` When I'm on domain.tld/new-poem/ page, how to reach parent folder "poem" and "2020"?

education

Hi, I have a custom nunjucks tag registered in my `.eleventy.js` file: ```javascript config.addNunjucksTag('ref', function () {}); ``` that I use to retrieve the URL of the passed argument (the...

education

I have a site that lives in a subdirectory: ``` module.exports = eleventyConfig => { eleventyConfig.addPassthroughCopy('eleventy/images'); return { dir: { input: './eleventy', output: './eleventy/_site', } } } ``` I have...

education

for: ``` {%- for item in collections.all %} {{ item.url }} {{ item.date }} {{ item.templateContent | striptags | }} ``` I can use nunjucks `replace` to remove matching strings...

education