Access current URL
Get the full path of the current page you are on from within a template.
Example of usage
Current page URL: {{ absolute_url }}Example using the variable in an outgoing link
<a href="/some-page/?previous_page={{ absolute_url|urlencode }}">
Some Page
<a>Last updated
Was this helpful?