{{ $isHome := .IsHome }} {{ $isDoc := eq .Section "docs" }} {{ $title := cond $isHome site.Title .Title }} {{ $description := .Param "description" }} {{ $pageType := cond $isHome "website" "article" }} {{ $imageUrl := "/img/logos/opa-horizontal-color.png" | absURL }} {{ $twitter := site.Params.social.twitter }} {{ $version := index (split .File.Path "/") 1 }} {{ with $description }} {{ end }} {{ if $isDoc }} {{ end }} {{ if not $isHome }} {{ end }} {{ with $description }} {{ end }} {{ hugo.Generator }}