diff --git a/partials/subscribe-form.hbs b/partials/subscribe-form.hbs new file mode 100644 index 00000000..dc3f8bd3 --- /dev/null +++ b/partials/subscribe-form.hbs @@ -0,0 +1,19 @@ +
+

Subscribe to {{@site.title}}

+

Get the latest posts delivered right to your inbox

+
+
+ + +
+
+ Great! Check your inbox and click the link to confirm your subscription. +
+
+ Please enter a valid email address! +
+
+
\ No newline at end of file diff --git a/post.hbs b/post.hbs index 8043c213..989f81e2 100644 --- a/post.hbs +++ b/post.hbs @@ -22,20 +22,18 @@ {{!-- Email subscribe form at the bottom of the page --}} - {{#if @labs.subscribers}} -
-

Subscribe to {{@site.title}}

-

Get the latest posts delivered right to your inbox

- {{subscribe_form placeholder="youremail@example.com"}} -
+ {{#if @labs.members}} + {{> subscribe-form}} {{/if}}