posts are pleroma

This commit is contained in:
sakrecoer 2020-12-25 17:23:00 +01:00
parent 93454c921f
commit 9432fb5afd

View file

@ -140,6 +140,7 @@ apps:
{% if item.summary %} {% if item.summary %}
<h2 style="text-align: left;">{{ item.summary }}</h2> <h2 style="text-align: left;">{{ item.summary }}</h2>
{% endif %} {% endif %}
<p>
{% assign d = item.published | date: "%-d" %} {% assign d = item.published | date: "%-d" %}
{% case d %} {% case d %}
{% when '1' or '21' or '31' %}{{ d }}:st {% when '1' or '21' or '31' %}{{ d }}:st
@ -160,11 +161,10 @@ apps:
{% when '9' %}September {% when '10' %}October {% when '11' %}November {% when '12' %}December {% when '9' %}September {% when '10' %}October {% when '11' %}November {% when '12' %}December
{% endcase %} {% endcase %}
{{ item.published | date: "%Y" }} - {{ item.published | date: "%R" }} {{ item.published | date: "%Y" }} - {{ item.published | date: "%R" }}
</p>
<p>
{{ item.content }}
</p>
{{ item.content }} <br />
{% for enclosure in item.link %} {% for enclosure in item.link %}
{% if enclosure.type == "image/jpeg" %} {% if enclosure.type == "image/jpeg" %}
<img src="{{ enclosure.href }}" height="300px" /> <img src="{{ enclosure.href }}" height="300px" />