Create a Link to a Post in Markdown in Jekyll
Recently I got a support request from a client about how to link to an internal post with Jekyll. The use case for this when you are writing a post and you want to link to another post the Jekyll way without hard-coding the full URL. I did some research and I found that Jekyll has a very elegant way to do that, and I would like to share this good tip with you.
Linking to an internal post is as simple as the following snippet:
The snippet is a markdown syntax just as normal URL
post_url tag which will automatically generate the post URL for you.
Hope this tip is useful and you can read more about this and more options on the Jekyll documentation.