subscribe to digest

This commit is contained in:
j 2025-01-23 14:03:55 +05:30
commit bee761e0c4
8 changed files with 95 additions and 6 deletions

View 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 %}