Skip to content

Commit fd7536e

Browse files
committed
Update newsletter subscription to work with Tinyletter
1 parent 93b4e4c commit fd7536e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_includes/footer.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
<!-- {% endif %} -->
1414
<!-- {% endfor %} -->
1515
<!-- </ul> -->
16+
1617
<section>
17-
<script type="text/javascript">var submitted=false;</script>
18-
<iframe name="hidden_iframe" id="hidden_iframe" style="display:none;" onload="if(submitted) {window.location='/thanks/mailinglist/';}"></iframe>
19-
<form method="post" action="https://docs.google.com/forms/d/e/1FAIpQLSdj1dm4TxQ9BIR1N7oXohV6pnZ92KmvQGSN8VLraJbMZG7Mgw/formResponse" target="hidden_iframe" onsubmit="submitted=true;">
18+
<form method="post" action="https://tinyletter.com/cKeys" method="post" target="popupwindow" onsubmit="window.open('https://tinyletter.com/cKeys', 'popupwindow', 'scrollbars=yes,width=800,height=600');return true">
2019
<div class="inner">
2120
<header>
2221
<h2>Join our mailing list</h2> </header>
2322
<div class="12u$">
2423
<ul class="actions">
25-
<li><input type="email" name="emailAddress" id="emailAddress" value="" size="30" placeholder="Email" /></li>
24+
<li><input type="email" name="email" id="tlemail" value="" size="30" placeholder="Email" /></li>
25+
<input type="hidden" value="1" name="embed"/>
2626
</ul>
2727
</div>
2828
<div class="12u$">
@@ -33,6 +33,7 @@ <h2>Join our mailing list</h2> </header>
3333
</div>
3434
</form>
3535
</section>
36+
3637
<ul class="copyright">
3738
<li>&copy; {% assign thisyear = site.time | date: "%Y" %}
3839
{{ thisyear }}

0 commit comments

Comments
 (0)