Inside a page, I want to output the current, full, absolute url.
I created a shortcode:
-
Site
** layouts
*** shortcodes
**** page-url.html{{ $.Page.Params.Permalink | absURL }}
And I call this in:
-
Site
** content
*** page.html{{< page-url >}}
However the output is not as expected, its just outputting the baseURL.
Is there some way to achieve this? What am I missing here?
Thanks in advance.