Skip to content

Commit 3967880

Browse files
committed
Adds data to template
1 parent f544bf0 commit 3967880

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

views/_layout.pug

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ html(lang=lang)
3636
.layout__page
3737
block page
3838

39-
footer.layout__footer Footer
39+
footer.layout__footer
40+
!=footer.info
41+
!=footer.sub
4042

4143
//-
4244
block js_external

views/index.pug

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,33 @@ block page
99
h1=headline
1010
h3=subHeadline
1111

12+
each category in categories
13+
h4!=category.name
14+
15+
a(href=sampleLink.url)!=sampleLink.label
16+
17+
h2!=callToAction.label
18+
19+
form(
20+
method=subscribeForm.method
21+
action=subscribeForm.action)
22+
23+
label(for="form-email-field")=subscribeForm.email.label
24+
div
25+
input(
26+
id="form-email-field",
27+
type="text"
28+
name="email"
29+
placeholder=subscribeForm.email.label)
30+
31+
button(type="submit")!=subscribeForm.submit.label
32+
33+
div
34+
h2!=faq.title
35+
div
36+
each faqItem in faq.entries
37+
h3!=faqItem.title
38+
p!=faqItem.text
39+
40+
41+

0 commit comments

Comments
 (0)