{{ $isHome := .IsHome }} {{ $isDoc := eq .Section "docs" }} {{ $title := cond $isHome site.Title (printf "%s – %s" site.Title .Title) }} {{ $description := cond $isHome site.Params.description .Params.description }} {{ $pageType := cond $isHome "website" "article" }} {{ $imageUrl := "img/logos/harbor-icon-color.png" | absURL }} {{ $twitterHandle := site.Params.twitter }} {{ with $description }} {{ end }} {{ if $isDoc }} {{ end }} {{ if not $isHome }} {{ end }} {{ with $description }} {{ end }} {{ hugo.Generator }}