mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 02:21:52 +02:00
Fix missing URL for Top-level menu entry in nested menue
This commit is contained in:
parent
92f26f9bdd
commit
9e7abf32cf
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
|||
{{ partial "icon.html" .Pre }}
|
||||
</span>
|
||||
{{ end }}
|
||||
<a class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
||||
<a {{ if .URL }} href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:" ) }}
|
||||
target="_blank" {{ end }} {{ end }} class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
||||
{{ .Name | markdownify | emojify }}
|
||||
</a>
|
||||
<span>
|
||||
|
|
Loading…
Add table
Reference in a new issue