{{- /* Returns the URL of the Tidy Index dashboard (the "API Key" app). Pulls from landing/data/urls.toml — the single source of truth for cross-app URLs. Defaults to the dev URL, swaps to prod when the build is running in the production environment (i.e. `hugo` or `hugo --minify`, NOT `hugo server`). Usage: API Key */ -}} {{- $url := site.Data.urls.dashboard.dev -}} {{- if hugo.IsProduction }}{{ $url = site.Data.urls.dashboard.prod }}{{ end -}} {{- return $url -}}