fix missing user discovery links

This commit is contained in:
perennial
2024-10-28 15:54:16 +11:00
parent c8911e20f4
commit b08893fab9
+15 -2
View File
@@ -31,12 +31,25 @@
{* NOTE: the col element needs to wrap the ratio element for whatever reason *}
<div class="col-2">
<div class="ratio ratio-1x1">
<img src="{{ .Avatar }}" alt="User avatar" class="img-fluid rounded-circle object-fit-cover">
<a
href="/users/{{ .ID }}"
title="{{ .Name }}"
>
<img src="{{ .Avatar }}" alt="User avatar" class="img-fluid rounded-circle object-fit-cover">
</a>
</div>
</div>
<div class="col-10 d-flex flex-column flex-wrap justify-content-start align-items-start">
<h3 class="mb-0">{{ .Name }}</h3>
<h3 class="mb-0">
<a
href="/users/{{ .ID }}"
title="{{ .Name }}"
class="text-body"
>
{{ .Name }}
</a>
</h3>
{{- if .Comment }}
<p class="text-body-secondary line-clamp-3 w-100 mt-2 mb-0">