renaming post class to message

This commit is contained in:
manetta 2022-02-18 17:11:12 +01:00
parent da02542dfe
commit f711e6c0de
3 changed files with 6 additions and 6 deletions

View File

@ -9,12 +9,12 @@ body {
font-size: 16px;
line-height: 1.6;
}
.post {
div.post {
max-width: 350px;
margin: 1.5em 1em;
float: left;
}
.post p.key {
div.post p.key {
margin: 2em 0 1em 5em;
font-size: 12px;
}

View File

@ -15,7 +15,7 @@
<p class="key">{{ num }}</p>
<p class="date">{{ db[num]['date'] }}</p>
{% if 'media' in db[num] %}
<p class="post">
<p class="message">
{% if 'image' in db[num]['media']['type'] %}
<img src="{{ db[num]['media']['path'] }}" loading="lazy">
{% elif 'application' in db[num]['media']['type'] %}
@ -27,7 +27,7 @@
{% endif %}
</p>
{% else %}
<p class="post">{{ db[num]['post'] }}</p>
<p class="message">{{ db[num]['post'] }}</p>
{% endif %}
</div>
{% endfor %}

View File

@ -13,7 +13,7 @@
<guid>{{ log_path }}#{{ x }}</guid>
<description>
{% if 'media' in post %}
<p class="post">
<p>
{% if 'image' in post.media.type %}
<img src="{{ baseurl }}{{ post.media.path }}" loading="lazy"></img>
{% elif 'application' in post.media.type %}
@ -27,7 +27,7 @@
{% endif %}
</p>
{% else %}
<p class="post">{{ post.post }}</p>
<p>{{ post.post }}</p>
{% endif %}
</description>
{% if 'media' in post %}<enclosure url="{{ baseurl }}{{ post.media.path }}" length="{{ post.media.size }}" type="{{ post.media.type }}" />{% endif %}