adding / between foldername filename
This commit is contained in:
parent
b6de07fc7b
commit
a117709563
@ -15,13 +15,13 @@
|
||||
{% if 'media' in post %}
|
||||
<p>
|
||||
{% if 'image' in post.media.type %}
|
||||
<img src="{{ log_folder_url }}{{ post.media.path }}" loading="lazy"></img>
|
||||
<img src="{{ log_folder_url }}/{{ post.media.path }}" loading="lazy"></img>
|
||||
{% elif 'application' in post.media.type %}
|
||||
<iframe src="{{ log_folder_url }}{{ post.media.path }}" loading="lazy"></iframe>
|
||||
<iframe src="{{ log_folder_url }}/{{ post.media.path }}" loading="lazy"></iframe>
|
||||
{% elif 'audio' in post.media.type %}
|
||||
<audio src="{{ log_folder_url }}{{ post.media.path }}" preload="none"></audio>
|
||||
<audio src="{{ log_folder_url }}/{{ post.media.path }}" preload="none"></audio>
|
||||
{% elif 'video' in post.media.type %}
|
||||
<video src="{{ log_folder_url }}{{ post.media.path }}" preload="none"></video>
|
||||
<video src="{{ log_folder_url }}/{{ post.media.path }}" preload="none"></video>
|
||||
{% else %}
|
||||
The media file is not added to the RSS feed :(.
|
||||
{% endif %}
|
||||
@ -30,7 +30,7 @@
|
||||
<p>{{ post.post }}</p>
|
||||
{% endif %}
|
||||
</description>
|
||||
{% if 'media' in post %}<enclosure url="{{ log_folder_url }}{{ post.media.path }}" length="{{ post.media.size }}" type="{{ post.media.type }}" />{% endif %}
|
||||
{% if 'media' in post %}<enclosure url="{{ log_folder_url }}/{{ post.media.path }}" length="{{ post.media.size }}" type="{{ post.media.type }}" />{% endif %}
|
||||
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">LogBot</dc:creator>
|
||||
<pubDate>{{ post.date }}</pubDate>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user