Is there a way to get the current url of a page so it can be used in a tag? I know that you can use javascript using location.href but I assume that this can't be used in a template tag. I also know that on dynamic pages I could use a global and build the URL using environmental variables. However, I would like to get the displayed url - not the rewritten one, the static one on a static site and not the one that is built from during the build process.
Is this possible?
Is this possible?