Converting URLs to Jekyll References
Scott Lowe
JANUARY 8, 2015
Jekyll offers a tag (not to be confused with content tags, more like a function) named post_url that will automatically build the correct URL when passed the filename of a content source. If the permalink ever changed for whatever reason, whenever the site is regenerated Jekyll would convert that tag to the new permalink.
Let's personalize your content