Im on the page:
example.com/news
It's a list of news articles. Is it possible to set links on each news article and take into account the current url?
<a href="the-article">link to something</a>
The above will link to:
example.com/news/article
Or will I need to get the entire route and specify that in the link?
The url could be anything eg. /products so I do not want to hardcode it in.