phantasmobile/app/templates/weekly_email.html
2024-02-06 17:47:54 +01:00

22 lines
845 B
HTML

{% if week_title %}
<a style="color: #F0F0F0;text-decoration: underline;font-size: 18px;font-weight: bold" href="{{ week_link }}">{{ week_title }}</a>
{% if week_byline %}<br>
{{ week_byline }}
{% endif %}
<br>
<br>
{% endif %}
{% for item in items %}
<div class="item" style="background-color: #101010;color: #CCCCCC;border-bottom: 1px solid blueviolet;">
<a style="color: #CCCCCC;text-decoration: none;" href="{{ item.full_url }}">
<div class="info">
<h1 style="color: #F0F0F0;text-decoration: underline;font-size: 18px;font-weight: bold">{{ item.title }}</h1>
<h2 style="color: #F0F0F0;font-size: 16px;">{{ item.data.title }}</h2>
</div>
<div class="image">
<img style="max-width: 100%;height:auto;" src="{{ item.data.thumbnail }}">
</div>
</a>
</div>
{% endfor %}