{{- /* Takes a list of package names and displays them as a tiled list. Limited to those defined as pages of the API Reference section so that we can use the additional metadata that goes along with them. */ -}} {{ $site := .Site }}
{{ $pkgs := split (.Get 0) "," }} {{ $useLogo := default true (.Get 1) }} {{ range $pkg := $pkgs }} {{ $href := printf "/registry/packages/%s/api-docs" $pkg }} {{ with $site.GetPage $href }} {{ $page := .Site.GetPage $href }}
{{ if eq $useLogo true }} {{ .Title }} {{ else }}
{{ .Title }}
{{ end }}
{{ end }} {{ end }}