Commit fe434d71 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Add quick and dirty way to amend email subscription page

parent 2ea9e0e3
......@@ -6,14 +6,28 @@ title: "Signed Up"
# You're almost subscribed!
You're almost subscribed to the Small is Beautiful email notifications
<div class='description'>
<p>You're almost subscribed to the Small is Beautiful email notifications</p>
You’ve been sent an email to confirm your address.
<p>You’ve been sent an email to confirm your address.</p>
**Click the confirmation link inside and you’ll be all signed up**.
<p><strong>Click the confirmation link inside and you’ll be all signed up</strong>.</p>
## Signed up by accident?
<h2>Signed up by accident?</h2>
Just don’t click the confirmation link and you won’t be signed up for emails.
<p>Just don’t click the confirmation link and you won’t be signed up for emails.</p>
</div>
{{< fund-us >}}
<script>
// if the url has /?confirmed=true, then change the content accordingly
var h1 = document.querySelector('h1');
var summary = document.querySelector('.description');
var urlSearch = window.location.search
if (urlSearch == '?confirmed=true') {
h1.innerText = 'Subscribed!';
summary.innerHTML = '<p>Every month we’ll send you a reminder for the next episode of Small is Beautiful, the Small Technology Foundation livestream, so you can watch the stream live.</p>';
}
</script>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment