fix: pass domain to question template
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
<p class="timestamp">
|
||||
Asked {{ .question.Timestamp }} by
|
||||
<a
|
||||
href="https://stackoverflow.com{{ .question.AuthorURL }}"
|
||||
href="https://{{ .domain }}{{ .question.AuthorURL }}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>{{ .question.AuthorName }}</a
|
||||
@ -87,7 +87,7 @@
|
||||
<div class="answer-author">
|
||||
Answered {{ $answer.Timestamp }} by
|
||||
<a
|
||||
href="https://stackoverflow.com{{ $answer.AuthorURL }}"
|
||||
href="https://{{ .domain }}{{ $answer.AuthorURL }}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>{{ $answer.AuthorName }}</a
|
||||
|
Reference in New Issue
Block a user