Skip to content

Commit 366848a

Browse files
jamesobjnewbery
authored andcommitted
Add email subscription form to / and /newsletters
1 parent 034a44f commit 366848a

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

_includes/newsletter-signup.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!-- Begin MailChimp Signup Form -->
2+
<link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
3+
<style type="text/css">
4+
#mc_embed_signup{clear:left; font:14px Helvetica,Arial,sans-serif; }
5+
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
6+
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
7+
</style>
8+
<div id="mc_embed_signup">
9+
<form action="https://bitcoinops.us18.list-manage.com/subscribe/post?u=70c3f85e5d13ffec674f30af8&amp;id=adc93c9774" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
10+
<div id="mc_embed_signup_scroll">
11+
<label for="mce-EMAIL">Subscribe to our newsletter</label>
12+
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
13+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
14+
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_70c3f85e5d13ffec674f30af8_adc93c9774" tabindex="-1" value=""></div>
15+
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
16+
</div>
17+
</form>
18+
</div>
19+
20+
<!--End mc_embed_signup-->

index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ Optech does not exist to make a profit, and all materials and documentation
2424
produced are placed in the public domain. We are supported by our generous
2525
founding sponsors and contributions from member companies.
2626

27+
28+
{% include newsletter-signup.html %}
29+
2730
{% include sponsors.html %}

newsletters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ share: false
99
version: 1
1010
---
1111

12+
{% include newsletter-signup.html %}
13+
1214
<ul class="post-list">
1315
{%- for post in site.posts -%}
1416
{%- if post.type == 'newsletter' -%}

0 commit comments

Comments
 (0)