kiramclean / morphy

A simple static site generator
2 stars 1 forks source link

Relative image links in pre-expanded directories get the wrong slug #25

Open kiramclean opened 3 years ago

kiramclean commented 3 years ago

With a folder called .e.g "post-name" that has a different slug, like from the title for example, relative image paths used in that folder's index will get the "post-name" in the path, not the new slug. Not sure this should really be different since it's unintuitive that some file's slug would come from something in another file, but anyway, just flagging this so I don't forget about it forever.