diff --git a/LogBot/template.rss b/LogBot/template.rss index ea2f0e6..b441a28 100644 --- a/LogBot/template.rss +++ b/LogBot/template.rss @@ -11,10 +11,26 @@ {{ title }} #{{ x }} {{ log_path }}#{{ x }} {{ log_path }}#{{ x }} - - {% if 'media' in post %}{% endif %} + + {% if 'media' in post %} +

+ {% if 'image' in post.media.type %} + + {% elif 'application' in post.media.type %} + + {% elif 'audio' in post.media.type %} + + {% elif 'video' in post.media.type %} + + {% else %} + The media file is not added to the RSS feed :(. + {% endif %} +

+ {% else %} +

{{ post.post }}

+ {% endif %} +
+ {% if 'media' in post %}{% endif %} LogBot {{ post.date }}