feat: get answer ID and fragment scrolling

This commit is contained in:
httpjamesm
2023-02-14 19:55:17 -05:00
parent 6bfed5a9e3
commit cc9e549aaf
4 changed files with 11 additions and 1 deletions

View File

@ -68,7 +68,7 @@
</div>
</div>
{{ range $answer := .answers }}
<div class="answer">
<div class="answer" id="{{ $answer.ID }}">
<div
class="answer-meta{{ if $answer.IsAccepted }} accepted{{end}}"
>