blob: 9ce01b84e93efba627e8a9b75588144928c19604 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:" ) }} target="_blank" {{
end }} class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
{{ if .Pre }}
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
{{ partial "icon.html" .Pre }}
</span>
{{ end }}
<p class="text-base font-medium" title="{{ .Title }}">
{{ .Name | markdownify | emojify }}
</p>
</a>
|