{{ if not $.Page.Params.no_on_this_page }}
{{ if strings.Contains $.Page.Permalink "registry/packages" }} {{ partial "registry/package/package-card.html" . }} {{ end }}
    {{/* This will be populated dynamically with all H2s and H3s on the page; see ts/misc.ts */}}
{{ if strings.Contains $.Page.Permalink "registry/packages" }} {{ $path := (split .Page.Params.title_tag ".") }} {{- if eq (len $path) 3 -}} {{ $packageName := index $path 0 }} {{ $moduleName := index $path 1 }} {{ $resourceName := index $path 2 }}
{{ end }} {{ end }}
{{ end }}