1{{ define "repo/fragments/og" }}
2 {{ $title := or .Title .RepoInfo.FullName }}
3 {{ $description := or .Description .RepoInfo.Description }}
4 {{ $url := or .Url (printf "https://tangled.sh/%s" .RepoInfo.FullName) }}
5
6
7 <meta property="og:title" content="{{ unescapeHtml $title }}" />
8 <meta property="og:type" content="object" />
9 <meta property="og:url" content="{{ $url }}" />
10 <meta property="og:description" content="{{ $description }}" />
11{{ end }}