You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple permalink redirect is not possible in posts.json because of the mixture of .md files and folders with leading ISO dates. (Yet, Eleventy seems to recognize dates from folder names.)
It is easy to accomplish something like that using a filters for permalink.
Eleventy’s flexibility is great.
So far
fileSlug
only works for—well, it’s a telling name—file names, but should be extended to be used with folders.This is a common and very logical way to structure posts and associated media:
A simple
permalink
redirect is not possible inposts.json
because of the mixture of.md
files and folders with leading ISO dates. (Yet, Eleventy seems to recognize dates from folder names.)It is easy to accomplish something like that using a filters for
permalink
.But you run into problems due to #1140.
Thank you!
The text was updated successfully, but these errors were encountered: