Make poll results appear inside of a post (#218)

This commit is contained in:
Butter Cat 2024-09-21 00:02:34 -04:00 committed by GitHub
parent 7156be6ad0
commit 2991813c2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -153,7 +153,10 @@
{% endif %}
<!-- POST BODY -->
<div class="post_body">{{ post.body|safe }}</div>
<div class="post_body">
{{ post.body|safe }}
{% call poll(post) %}
</div>
<div class="post_score" title="{{ post.score.1 }}">
{% if prefs.hide_score != "on" %}
{{ post.score.0 }}