final polish

This commit is contained in:
Nuno Coração
2023-01-14 21:58:22 +00:00
parent 88b23d57de
commit 053fa1383a
5 changed files with 14 additions and 54 deletions
@@ -1,10 +1,10 @@
<li class="mt-3">
<li class="mt-1">
<a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:"
) }} target="_blank" {{ end }} class="flex items-center">
{{ if .Pre }}
<span {{ if and .Pre .Name}} class="mr-2" {{ end }}>
<div {{ if and .Pre .Name}} class="mr-2" {{ end }}>
{{ partial "icon.html" .Pre }}
</span>
</div>
{{ end }}
<p class="text-bg font-bg text-gray-500 hover:text-gray-900" title="{{ .Title }}">
{{ .Name | markdownify | emojify }}