Markdown spoilers and post footers on videos

This commit is contained in:
spikecodes 2021-01-08 21:57:36 -08:00
parent ef1ad17234
commit fac56d7f87
3 changed files with 17 additions and 5 deletions

View file

@ -67,7 +67,7 @@
{% if post.post_type == "image" %}
<img class="post_media" src="{{ post.media }}"/>
{% else if post.post_type == "video" %}
<video class="post_media" src="{{ post.media }}" controls autoplay loop>
<video class="post_media" src="{{ post.media }}" controls autoplay loop></video>
{% else if post.post_type == "link" %}
<a id="post_url" href="{{ post.media }}">{{ post.media }}</a>
{% endif %}
@ -81,6 +81,7 @@
</ul>
<p>{{ post.upvote_ratio }}% Upvoted</p>
</div>
</div>
</div>
</div>