1
0
mirror of https://github.com/spikecodes/libreddit synced 2024-12-29 11:56:18 +01:00

Update subreddit.html

This commit is contained in:
robrobinbin 2021-02-01 20:59:31 +01:00 committed by GitHub
parent 9df1dfae32
commit 9e1948733d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,9 @@
{% else %}
<svg width="{{ post.thumbnail.width }}px" height="{{ post.thumbnail.height }}px" xmlns="http://www.w3.org/2000/svg">
<image width="100%" height="100%" href="{{ post.thumbnail.url }}"/>
<desc>
<img alt="Thumbnail" src="{{ post.thumbnail.url }}"/>
</desc>
</svg>
{% endif %}
<span>{% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %}</span>