new frontpage

This commit is contained in:
sakrecoer 2020-12-25 20:07:09 +01:00
parent ac6d3b372c
commit db86e11963
3 changed files with 39 additions and 10 deletions

View file

@ -143,7 +143,11 @@ apps:
{% if item.summary %}
<h2 style="text-align: left;">{{ item.summary }}</h2>
{% endif %}
<p>
<p>
{{ item.content }}
</p>
<p class="date">
{% assign d = item.published | date: "%-d" %}
{% case d %}
{% when '1' or '21' or '31' %}{{ d }}:st
@ -165,17 +169,14 @@ apps:
{% endcase %}
{{ item.published | date: "%Y" }} - {{ item.published | date: "%R" }}
</p>
<p>
{{ item.content }}
</p>
{% for enclosure in item.link %}
{% if enclosure.type == "image/jpeg" %}
<img src="{{ enclosure.href }}" height="300px" />
<img src="{{ enclosure.href }}" />
{% endif %}
{% endfor %}
<hr />
<hr />
</div>
{% endunless %}
{% endfor %}