{{- /* og:description - a one to two sentence description of your object, maybe it only needs at most 300 bytes */ -}} {{if .PageIsUserProfile}} {{if .ContextUser.Description}} {{end}} {{else if .Repository}} {{if .Issue}} {{if .Issue.Content}} {{end}} {{else if or .PageIsDiff .IsViewFile}} {{if and .PageIsDiff .Commit}} {{- $commitMessageParts := StringUtils.Cut .Commit.Message "\n" -}} {{- $commitMessageBody := index $commitMessageParts 1 -}} {{- if $commitMessageBody -}} {{- end -}} {{end}} {{else if .Pages}} {{if .Repository.Description}} {{end}} {{else}} {{if .Repository.Description}} {{end}} {{end}} {{if not .Issue}} {{if (.Repository.AvatarLink ctx)}} {{else}} {{end}} {{end}} {{else}} {{end}}