phantasmobile/app/templates/weekly_email.html
2023-10-15 17:12:16 +01:00

19 lines
790 B
HTML

{% if week_title %}
<a style="color: #F0F0F0;text-decoration: underline;font-size: 18px;font-weight: bold" href="{{ week_link }}">{{ week_title }}</a>
<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 %}