Added newsletter functionality

This commit is contained in:
2023-08-27 14:55:00 +03:00
parent bbe6c29419
commit f2246b4303
4 changed files with 90 additions and 14 deletions
+15 -1
View File
@@ -10,6 +10,19 @@
⬡
<a href="/contact">Contact</a>
</nav>
<form action="https://buttondown.email/api/emails/embed-subscribe/andwati"
method="post"
target="popupwindow"
onsubmit="window.open('https://buttondown.email/andwati','popupwindow')"
class="embeddable-buttondown-form">
<input type="email"
name="email"
id="bd-email"
placeholder="Enter your email" />
<input type="hidden" value="1" name="embed" />
<input type="hidden" name="tag" value="via-footer" />
<input type="submit" value="Sign up" />
</form>
<p>
© 2022 -
{{ now() | date(format="%Y") }}
@@ -18,4 +31,5 @@
<a href="https://github.com/andwati/andwati.com">Source</a>
⬡
<a href="/rss.xml">Feed</a>
</footer>
</p>
</footer>