{{ $here := $.Page.RelPermalink }} {{ $providers := where site.RegularPages ".CurrentSection.Title" "Authentication Providers" }} {{ $version := index (split $.Page.File.Path "/") 1 }}
{{ range $providers }} {{ $thisVersion := index (split .File.Path "/") 1 }} {{ $sameVersion := eq $version $thisVersion }} {{ if $sameVersion }} {{ .Title }} {{ end }} {{ end }}