TIL a better way to link Jekyll posts permalink

{% post_url 2020-04-25-til-how-to-add-math-typesetting-to-github-pages-with-katex %}

This is a much better way of linking to posts from other posts or pages in Jekyll site. It will preserve the link even if my URL structure changes due to change in my template or something.

I can’t believe it took me this long to find this, but looking through my posts, the only place I might have been able to use it is in TIL how to add math typesetting to Github Pages with KaTeX.

© 2020