Skip to content

Commit 5d5366b

Browse files
committed
added a newsletter subscription form
1 parent 454e71b commit 5d5366b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

_layouts/default.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,28 @@
4141
<body class="{% if page.post_class %}{{page.post_class}}{% else %}home-template{% endif %}">
4242

4343
{{ content }}
44+
45+
<!-- Begin MailChimp Signup Form -->
46+
<link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
47+
<style type="text/css">
48+
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; width:100%;}
49+
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
50+
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
51+
</style>
52+
<div id="mc_embed_signup">
53+
<form action="//moldedbits.us9.list-manage.com/subscribe/post?u=c8611da378e81673a8b234e3a&amp;id=a690f9c924" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
54+
<div id="mc_embed_signup_scroll">
55+
<label for="mce-EMAIL">Subscribe to our mailing list</label>
56+
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
57+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
58+
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_c8611da378e81673a8b234e3a_a690f9c924" tabindex="-1" value=""></div>
59+
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
60+
</div>
61+
</form>
62+
</div>
63+
64+
<!--End mc_embed_signup-->
65+
4466
<footer class="site-footer clearfix">
4567
<section class="copyright">
4668
<a href="{{ site.baseurl }}">{{ site.name }}</a> &copy;

0 commit comments

Comments
 (0)