How to distinguish between .Permalink and .Page.Permalink

<context-showcase>
    {{ range (where $.Site.Pages "Section" "showcase") }}
    {{ .Render "showcase-card" }}
    {{ end }}
</context-showcase>

In this shortcode I render ‘showcase-card’. Inside it I try to see if the card in question is the current page. It seems though that .Permalink and .Page.Permalink is always the same value within ‘showcase-card’, is there another way?

{{ if eq .Permalink .Page.Permalink }}active{{ end }}