diff --git a/resources/themes/light.html b/resources/themes/light.html index d741e7a..3f5ce8a 100644 --- a/resources/themes/light.html +++ b/resources/themes/light.html @@ -42,6 +42,10 @@ font-family: 'Newsreader', serif; color: var(--color-black); } + img { + object-fit: cover; + object-position: center; + } img, video, iframe { width: 100%; } @@ -58,6 +62,10 @@ padding: 1rem; } + .header { + margin-bottom: 2rem; + } + .title { text-align: center; font-size: 4rem; @@ -105,7 +113,113 @@ @@ -119,22 +233,24 @@
{% for item in data %} -
{% for article in item.feed.entries %}
-

+ {% if article.cover %} +

{{ article.title }}

-

{{ article.title }}

-

{{ item.feed.title }}

+ {% endif %} +
+

{{ article.title }}

+

{{ item.feed.title }}

+
-
+
{{ article.description.value|safe }}
{% endfor %} -
{% endfor %}