permalinks icon indicating copy to clipboard operation
permalinks copied to clipboard

relativity and nested source

Open patdavid opened this issue 10 years ago • 2 comments

So I have a source that looks like this:

blog/
    |- posts
        |- a post.html
        |- another post.html
        |-post directory/
            |- index.html
            |- image.jpg

What I'm having a hard time figuring out is how to make it so the permalinks will resolve as:

2014/
    |- 08/
        |- a post/
            |- index.html
        |- another post/
            |- index.html
        |- post directory/
            |- index.html
            |- image.jpg

Any advice?

Note: I've resorted to running permalinks twice, once for top-level .html, and second time for any nested folders separately. This appears to work, but am still curious if there's a better solution. Thanks!

patdavid avatar Aug 27 '14 04:08 patdavid

:+1:

rebolyte avatar Oct 03 '15 01:10 rebolyte

Without the permalinks plugin instantiation it is kind of hard to know what goes wrong here, but I think the latest versions do not have an issue with this setup even with the default invocation

webketje avatar Aug 04 '22 22:08 webketje