Skip to content

Commit d91a954

Browse files
lmamminoandreamangano
authored andcommitted
Added mailchimp setup and faqs (#3)
1 parent bcf5f46 commit d91a954

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

settings/data.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,32 @@ callToAction:
2222
label: Subscribe now
2323
subscribeForm:
2424
email:
25-
25+
fieldId: mce-EMAIL
26+
fieldName: EMAIL
27+
2628
submit:
2729
label: Subscribe
2830
method: POST
29-
action: https://somemailchimp.com/subscribesomething
31+
action: //fullstackbulletin.us15.list-manage.com/subscribe/post?u=b015626aa6028495fe77c75ea&id=55ace33899
3032
faq:
3133
title: F.A.Q.
3234
entries:
33-
- title: Faq 1?
35+
- title: What's the value for me?
3436
text: >
35-
Sample multiline
36-
description
37-
- title: Faq 2?
37+
So, if you are a Full stack developer (or you are anspiring to become one)
38+
this mailing list will provide you every week 7 relevant articles for you
39+
to stay relevant and hopefully learn some new cool tricks. Did we already
40+
said that it's FREE?
41+
- title: Where do you get the content?
3842
text: >
39-
Sample multiline
40-
description
41-
- title: Faq 3?
43+
We hand pick what we believe are the best articles and posts around the
44+
web and then we leave the task of extracting the best 7 every week to a
45+
ranking algorithm that we developed.
46+
- title: Can I send feedbacks?
4247
text: >
43-
Sample multiline
44-
description
48+
Sure, we'd love to hear from you. Feel free to use
49+
<a target="_blank" href="https://fullstackbulletin.typeform.com/to/eW48Yb">this form</a>
50+
to tell us what you think about this newsletter.
4551
footer:
4652
info: >
4753
Brought to you by <a href="https://twitter.com/loige" target="_blank">@loige</a> & <a href="https://twitter.com/andreaman87" target="_blank">@andreaman87</a>.

views/index.pug

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ block page
2020
method=subscribeForm.method
2121
action=subscribeForm.action)
2222

23-
label(for="form-email-field")=subscribeForm.email.label
23+
label(for=subscribeForm.email.fieldId)=subscribeForm.email.label
2424
div
2525
input(
26-
id="form-email-field",
27-
type="text"
28-
name="email"
26+
id=subscribeForm.email.fieldId,
27+
type="email"
28+
name=subscribeForm.email.fieldName
2929
placeholder=subscribeForm.email.label)
3030

3131
button(type="submit")!=subscribeForm.submit.label
@@ -36,6 +36,3 @@ block page
3636
each faqItem in faq.entries
3737
h3!=faqItem.title
3838
p!=faqItem.text
39-
40-
41-

0 commit comments

Comments
 (0)