email backend
This commit is contained in:
parent
3faf2c2493
commit
e82d5d5f15
11 changed files with 167 additions and 0 deletions
18
app/templates/weekly_email.html
Normal file
18
app/templates/weekly_email.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{% if week_title %}
|
||||
<h1>{{ week_title }}</h1>
|
||||
{% endif %}
|
||||
{% for item in items %}
|
||||
<div class="item">
|
||||
<a href="{{ item.full_url }}">
|
||||
<div class="info">
|
||||
<h1>{{ item.title }}</h1>
|
||||
<h2>{{ item.data.title }}</h2>
|
||||
<div class="url">{{ item.full_url }}</div>
|
||||
</div>
|
||||
<div class="image">
|
||||
<img src={{ item.data.thumbnail }}>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue