subscribe to digest
This commit is contained in:
parent
743276298d
commit
bee761e0c4
8 changed files with 95 additions and 6 deletions
21
app/templates/subscribe.html
Normal file
21
app/templates/subscribe.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{% extends "base.html" %}
|
||||
{% block head %}
|
||||
<title>Subscribe - {{ settings.SITENAME }}</title>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="subscribe">
|
||||
{% if subscribed %}
|
||||
Thank you for subscribing to our weekly email digest.
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
document.location.href = '/'
|
||||
}, 3000)
|
||||
</script>
|
||||
{% else %}
|
||||
You can subscribe to a weekly email digest with all clips, edits, sirens and phantoms published in the week.
|
||||
{% include "subscribe_form.html" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue