Adding in the ability to link to posts internally. #369
Conversation
…l 2010-07-21-name-of-post %}; useful for: [Some Link]({% post_url 2010-07-21-name-of-post %})
I have been trying to get this to work, but without luck. I am using Jekyll 0.11.2, If I do the following, shouldn't it work?
|
@bhardin it was merged into master after 0.11.2 release. gem 'jekyll', :github => 'mojombo/jekyll' |
@ixti Does github pages use 11.2 or Tom's repo for jekyll in production? |
hey guys i tried it [Talent Hunt]({% post_url 2013-01-01-test %}) and it is generating output like this Talent Huntost_url 2013-01-01-test %}) please help me what might be the problem |
Hi all,
Is there a way to accomplish that? Thank you! PS: I hope this is the correct place to ask my question. I am pretty new to jekyll and totally convinced! |
@Brixy You may want to post your question as a new issue. There will be more visibility and you will get a quicker response. |
Any chance this could be extended to pages too? |
How about pages that have permalinks that don't match their names? E.g 01-contact.html with permalink /contact-us/ It would remove the need to edit pages that linked to the permalink should it change in the future |
So it'd be |
That's what I was hoping for |
Hm... ok. Would you mind opening a pull request for this and we'll discuss it further? |
May be add "target" - |
@rnz Unfortunately we can't add custom link parsing. There may be a markdown parser that offers this, but I'm not sure. |
Hi, {% post_url 2012-12-12-my-cool-post %} works great for me :-) Is this possible ? |
when I use below in markdown, it did not correctly become permalink url because there is "baseurl: /b" in my _config.yml [Welcome to jekyll]({% post_url 2014-04-30-welcome-to-jekyll %}) Is it a bug? |
No, |
Syntax: {% post_url 2010-07-21-name-of-post %}.
Useful for: [Some Link]({% post_url 2010-07-21-name-of-post %})
This addresses issue #66