{{ $url := .Permalink }} {{ $canonical := replaceRE "/docs/\\d.\\d" "/docs/latest" $url }} {{ $title := cond .IsHome site.Title (printf "%s | %s" site.Title .Title) }} {{ $type := cond .IsHome "website" "article" }} {{ $desc := cond .IsHome site.Params.description .Description }} {{ $twitter := site.Params.twitter_handle }} {{ $img := "img/logos/keda-icon-color.png" | absURL }} {{ $imgAlt := printf "%s color logo" site.Title }} {{ $locale := site.Params.locale }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type $url site.Title | safeHTML }} {{ end -}} {{/* Twitter Card metadata */}} {{/* OpenGraph metadata */}} {{ with $desc }} {{ end }} {{ if hugo.IsProduction -}} {{ template "_internal/google_analytics.html" . -}} {{ end -}}