Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: user url error of render question list

kumfoc2ce03d26ca6
diff --git a/ui/template/question.html b/ui/template/question.html
index b960a6c6..297c2ab2 100644
--- a/ui/template/question.html
+++ b/ui/template/question.html
@@ -16,7 +16,7 @@
class="d-flex flex-column flex-md-row align-items-md-center fs-14 text-secondary">
<div class="d-flex">
<div class="text-secondary me-1">
- <a href="/users/{{.UserInfo.ID}}"><span
+ <a href="/users/{{.UserInfo.Username}}"><span
class="me-1 text-break">{{.UserInfo.DisplayName}}</span></a><span
class="fw-bold" title="Reputation">{{.UserInfo.Rank}}</span>
</div>