feat: SO/SE converter

refactor: rework some author logic
This commit is contained in:
httpjamesm 2023-02-20 14:17:24 -05:00
parent 63a30ab1cf
commit abfd0cfb6f
No known key found for this signature in database
6 changed files with 49 additions and 29 deletions

View file

@ -19,7 +19,7 @@
<div class="comment-author">
Commented {{ $comment.Timestamp }} by
<a
href="https://{{ $comment.Domain }}{{ $comment.AuthorURL }}"
href="{{ $comment.AuthorURL }}"
target="_blank"
rel="noopener noreferrer"
>{{ $comment.AuthorName }}</a

View file

@ -30,7 +30,7 @@
<p class="timestamp">
Asked {{ .question.Timestamp }} by
<a
href="https://{{ .domain }}{{ .question.AuthorURL }}"
href="{{ .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://{{ .domain }}{{ $answer.AuthorURL }}"
href="{{ $answer.AuthorURL }}"
target="_blank"
rel="noopener noreferrer"
>{{ $answer.AuthorName }}</a