Compare commits

...

1 Commits

Author SHA1 Message Date
httpjamesm 3d095c16f2 feat: only show question answers if they exist 2024-05-05 15:31:52 -04:00
+2
View File
@@ -45,6 +45,7 @@
{{ if .question.Comments }} {{ template "comments.html"
.question }} {{end}}
</div>
{{ if .answers }}
<hr class="post-divider" />
<div class="answers-header">
<h2>Answers</h2>
@@ -89,6 +90,7 @@
{{end}}
</div>
{{ end }}
{{ end }}
</body>
</html>