adding / between foldername filename

This commit is contained in:
manetta 2022-02-18 17:20:53 +01:00
parent b6de07fc7b
commit a117709563

View File

@ -15,13 +15,13 @@
{% if 'media' in post %} {% if 'media' in post %}
<p> <p>
{% if 'image' in post.media.type %} {% 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 %} {% 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 %} {% 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 %} {% 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 %} {% else %}
The media file is not added to the RSS feed :(. The media file is not added to the RSS feed :(.
{% endif %} {% endif %}
@ -30,7 +30,7 @@
<p>{{ post.post }}</p> <p>{{ post.post }}</p>
{% endif %} {% endif %}
</description> </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> <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">LogBot</dc:creator>
<pubDate>{{ post.date }}</pubDate> <pubDate>{{ post.date }}</pubDate>
</item> </item>