Suppose I have an older post in contents/post/2019-04-29-old-post.Rmd
and I want to link to it from a new rmarkdown post. Is there any way to do it without using the hardcoded url of the live site (so that I don't have to change all these cross links when the url of my site changes)?
Right now I do this:
In the [previous post](https://my.si.te/2019/04/29/old-post.html) we covered...
Is there a way to just identify the old post in some way (maybe the Rmd file name) and have blogdown/hugo generate the correct url?