recovered sub-navigation

This commit is contained in:
Nuno Coração
2023-01-14 13:10:55 +00:00
parent 2db7f50c7c
commit b3e006d90f
8 changed files with 116 additions and 26 deletions

View File

@@ -1,11 +1,11 @@
<li class="mt-3">
<a class="flex items-center">
{{ if .Pre }}
<span {{ if and .Pre .Name}} style="margin-right:3px;" {{ end }}>
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
{{ partial "icon.html" .Pre }}
</span>
{{ end }}
<p class="text-xl font-xl text-gray-500 hover:text-gray-900" title="{{ .Title }}">
<p class="text-bg font-bg text-gray-500 hover:text-gray-900" title="{{ .Title }}">
{{ .Name | markdownify | emojify }}
</p>
<span>
@@ -18,7 +18,7 @@
<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}} style="margin-right:3px;" {{ end }}>
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
{{ partial "icon.html" .Pre }}
</span>
{{ end }}