Nedělat odkaz u lidí klikací, pokud url není uvedeno.
This commit is contained in:
parent
104191b791
commit
5dc7866d5c
|
@ -1,7 +1,7 @@
|
|||
<div class="col-md-3 col-6">
|
||||
<div class="user-card">
|
||||
<img class="user-img" src="{{ .image }}" alt="" />
|
||||
<a href="{{ .url }}" class="user-name">
|
||||
<a {{ with .url }}href="{{ . }}"{{ end }} class="user-name">
|
||||
{{ with .prefix }} {{ . }} {{ end }}
|
||||
{{ .name }}{{ with .postfix }}, {{ . }} {{ end }}
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue