diff --git a/src/routes/question.go b/src/routes/question.go index 0bfde6e..40d5b85 100644 --- a/src/routes/question.go +++ b/src/routes/question.go @@ -277,6 +277,7 @@ func ViewQuestion(c *gin.Context) { "theme": c.MustGet("theme").(string), "currentUrl": fmt.Sprintf("%s/questions/%s/%s", os.Getenv("APP_URL"), questionId, questionTitle), "sortValue": sortValue, + "domain": domain, }) } diff --git a/templates/question.html b/templates/question.html index 0c0120d..ee943a1 100644 --- a/templates/question.html +++ b/templates/question.html @@ -30,7 +30,7 @@

Asked {{ .question.Timestamp }} by {{ .question.AuthorName }} Answered {{ $answer.Timestamp }} by {{ $answer.AuthorName }}