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,4 +1,4 @@
<li class="mt-3">
<li class="mt-1">
<a class="flex items-center">
{{ if .Pre }}
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
@@ -14,7 +14,7 @@
</a>
</li>
{{ range .Children }}
<li class="mt-2">
<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 }}
@@ -27,4 +27,5 @@
</p>
</a>
</li>
{{ end }}
{{ end }}
<li class="mb-2"></li>