aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/partials/2-up.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/partials/2-up.html')
-rw-r--r--site/layouts/partials/2-up.html23
1 files changed, 9 insertions, 14 deletions
diff --git a/site/layouts/partials/2-up.html b/site/layouts/partials/2-up.html
index 06849f0..ab827b4 100644
--- a/site/layouts/partials/2-up.html
+++ b/site/layouts/partials/2-up.html
@@ -1,24 +1,19 @@
<div class="bg-off-white pv4">
<div class="ph3 mw7 center">
- <h2 class="f2 b lh-title mb2">{{.heading}}</h2>
- <p class="mb4 mw6">{{.description}}</p>
+ <h2 class="f2 b lh-title mb2">{{.intro.heading}}</h2>
+ <p class="mb4 mw6">{{.intro.text}}</p>
<div class="flex-ns mhn2-ns mb3">
+ {{ range .products }}
<div class="ph2-ns w-50-ns">
- <img src="{{.svg1}}" alt="" class="center db mb3" style="width: 240px">
- <p>{{.text1}}</p>
- </div>
-
- <div class="ph2-ns w-50-ns">
- <img src="{{.svg2}}" alt="" class="center db mb3" style="width: 240px">
- <p>{{.text2}}</p>
+ <img src="{{.image}}" alt="" class="center db mb3" style="width: 240px">
+ <p>{{.text}}</p>
</div>
+ {{ end }}
</div>
- {{ if .buttonText }}
- <div class="tc">
- <a href="{{.buttonLink}}" class="btn raise">{{.buttonText}}</a>
- </div>
- {{ end }}
+ <div class="tc">
+ <a href="/products" class="btn raise">See all products</a>
+ </div>
</div>
</div>