mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add subscribe form to second edition index page
This commit is contained in:
@@ -30,6 +30,24 @@
|
||||
{{ macros::post_link(page=posts.2) }}
|
||||
</div>
|
||||
|
||||
<div class="posts subscribe">
|
||||
<h2 class="post-title">Subscribe</h2>
|
||||
Receive notifications about new posts and other major changes.
|
||||
<form
|
||||
action="https://buttondown.email/api/emails/embed-subscribe/phil-opp"
|
||||
method="post"
|
||||
target="popupwindow"
|
||||
onsubmit="window.open('https://buttondown.email/phil-opp', 'popupwindow')"
|
||||
class="embeddable-buttondown-form subscribe"
|
||||
>
|
||||
<div class="subscribe-fields">
|
||||
<input type="email" name="email" id="bd-email" placeholder="Enter your email">
|
||||
<input type="hidden" value="1" name="embed"/>
|
||||
<input type="submit" value="Subscribe" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<aside id="recent-updates">
|
||||
<h2>Recent Updates</h2>
|
||||
{% include "recent-updates.html" %}
|
||||
|
||||
Reference in New Issue
Block a user