Don't link items without URL
This commit is contained in:
parent
f08a119f2f
commit
c53cfffda5
@ -14,7 +14,11 @@
|
||||
<p class="text-zinc-500">{{ .description }}</p>
|
||||
{{ else }}
|
||||
<h4 class="text-lg font-bold mb-2">
|
||||
{{ if .url }}
|
||||
<a href="{{ .url }}" class="!text-black">{{ .name }}</a>
|
||||
{{ else }}
|
||||
<span class="!text-black">{{ .name }}</span>
|
||||
{{ end }}
|
||||
</h4>
|
||||
<p>{{ .description }}</p>
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user