[SOLVED] Get "slug" parameter from inside a short-code?

Is there anyway to retrieve the value of a page’s “slug” parameter from inside a short-code?

When I use this code:

{{ .Page.Params }}

…it only retrieves the page’s categories and tags, so I’m not sure if I’m misunderstanding how Hugo works, or if what I want simply isn’t possible (or both).

Any help would be appreciated.

:slight_smile:

EDIT: After battling with this problem for half an hour, I figured it out moments after posting this thread:

{{ .Page.Slug }}

I’d tried a similar variation before, but hadn’t capitalised the word “slug”.