Skip to content
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

post_url for posts in subdirectories doesn't work #1714

Closed
thomasdao opened this issue Nov 10, 2013 · 3 comments
Closed

post_url for posts in subdirectories doesn't work #1714

thomasdao opened this issue Nov 10, 2013 · 3 comments

Comments

@thomasdao
Copy link
Contributor

Hello,

I organized my posts in subdirectories, and recently when have upgraded to latest v1.3.0, post_url doesn't work anymore. The error is:

error: Could not find post "2013-11-03-post-title" in tag 'post_url'.

Does anyone have same problem? It is similar to isue #998

Thanks

@parkr
Copy link
Member

parkr commented Nov 11, 2013

Once you have them in the subdirectories, those links break, right? You'd have to modify it to say `{% post_url /subdir/2013-11-03-post-title %}", or?

@thomasdao
Copy link
Contributor Author

Thanks @parkr, it works 👍 !

Can we have it mentioned in the documentation as well?

@parkr
Copy link
Member

parkr commented Nov 11, 2013

Sure! The docs are in the site folder in this repo. Send us a pull request with what you think we need!

thomasdao added a commit to thomasdao/jekyll that referenced this issue Nov 12, 2013
csim pushed a commit to csim/jekyll that referenced this issue Nov 24, 2013
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants