nhoizey’s avatarnhoizey’s Twitter Archive—№ 116,146

      1. …in reply to @eleven_ty
        @eleven_ty Doesn't look like what I do, no. I have a large hierarchy of folders in github.com/nhoizey/nicolas-hoizey.photo/tree/main/src/galleries I build a photo_galleries collection with all index.md files in this tree. Then I generate pages from this collection with github.com/nhoizey/nicolas-hoizey.photo/blob/main/src/tools/opengraph/galleries.njk …/…
    1. …in reply to @nhoizey
      @eleven_ty …/… My objective is to not generate these pages for a production build, but I couldn't find how to set a false permalink, either in a global or directory data file, or directly in front matter.
  1. …in reply to @nhoizey
    @eleven_ty And I also tried JS front matter without success: 11ty.dev/docs/data-frontmatter/#javascript-front-matter Whatever I try, I get this error: Having trouble writing template: "false" (via EleventyTemplateError)