New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested directories in _posts #191
Comments
|
@evert I'll see if I can take a look at this sometime this week. Would you mind looking over what you wrote here to make sure that everything is 100% what you describe? Are the files still named 2014-* or are the new files named w/o the 2014-* prefix? If they still have the 2014-* prefix, it seems weird that Sculpin is generating those permalinks. If the files no longer have the 2014-* prefix I think that probably makes sense and I think I'd know how to fix that. Long story short, the work that the permalink factory does to determine the data from the filename is probably only looking at the basename. It probably does not know how to handle MM-DD-* in the basename "as a date." We can probably alter that some such that if a basename starts with [\d]- it will look for dirname for the rest of the dat components. Get back to me with confirmation on the problem being as you described it, whether the filenames changed, and if it sounds like I'm understanding the problem correctly. Thanks! |
|
Hi @simensen , The |
|
@simensen did this get fixed in the end? |
|
@carbontwelve No, I have not had time to look into this yet. :-/ Maybe someone else on the team can take a look if they have a chance? |
|
Hi, I've add #347 to try and tackle this. I'm new to PHP so feedback appreciated. Thanks. |
Now the new year came around, I would like reorganize my blogposts in 1 folder per year.
Before, all my posts were clumped together in one
_postsdirectory, so the new layout would iook like:However, moving all these markdown files in their new directory, caused the permalink generation to fail.
Before, these looked like:
But now they've become:
http://sabre.io/blog/2014/12-10-sabre-dav-2.1.2-released
Our configuration:
I know this worked fine with Jekkyl. Is there anything I can do to fix this?
The text was updated successfully, but these errors were encountered: