Add a Liquid Filter to convert a path in a Jekyll site to a relative path to the current URL, which is the URL that the user agent (browser) is opening. This will allow changing the base URL without breaking relative links.
Related : #6360 #6362 #7621 #8519 <!-- Hi! Thanks for considering to file a feature request with Jekyll. Please take the time to answer the basic questions. Please try to be as detailed as possible. Thanks! --> ## Summary <!-- A one-paragraph explanation of the feature. --> Add a Liquid Filter to convert a path in a Jekyll site to a relative path to the current path, which is the URL that the user agent (browser) is opening. Adding this functionality will allow changing the location of the site or accessing the same site from multiple URLs without a rebuild. ## Motivation <!-- Why do you want to see this feature in Jekyll? What makes you sure that it should not be implemented at the plugin level, but in Jekyll core? What use cases does it support? NOTE: Please be mindful of the Jekyll philosophy (https://jekyllrb.com/philosophy/), particularly Section 5. Think about if 90% of the users would benefit from your feature request, and w