-
@zcorpan Yes, that’s fair. The default
permalink
does have an.html
extension. Though you can applypermalink
to an entire directory of files using directory data files 11ty.io/docs/data-template-dir/ Assuming you’re using Nunjucks or Liquid:{ permalink: "{{ page.fileSlug }}.md" }
-
@zcorpan Lemme think on your second request a bit. My first thought was that pagination could do this but there is no way to customize
templateEngineOverride
differently for each page in your paginated set. Filed that request here github.com/11ty/eleventy/issues/474 -
@zcorpan Not a great solution but just as an idea you could set up two different eleventy commands to do this? Use different environment variables in your directory data files to customize your
permalink
value. Though this approach would require github.com/11ty/eleventy/issues/445 to be fixed first