aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/contact/single.html
diff options
context:
space:
mode:
authorBenaiah Mischenko <benaiah@mischenko.com>2017-12-06 16:58:42 -0800
committerBenaiah Mischenko <benaiah@mischenko.com>2017-12-06 17:45:02 -0800
commit3dc23ec6642f8238a9bb3e618544108cddcf2791 (patch)
tree73e06fa8068141402419d9c719ea1b8ad29ca5c0 /site/layouts/contact/single.html
parent665598c6d4d16a0cb3ac8a9eecc3a24cc40ca225 (diff)
Move Contact page into the CMS
Diffstat (limited to 'site/layouts/contact/single.html')
-rw-r--r--site/layouts/contact/single.html24
1 files changed, 8 insertions, 16 deletions
diff --git a/site/layouts/contact/single.html b/site/layouts/contact/single.html
index 07e5ce4..205d92e 100644
--- a/site/layouts/contact/single.html
+++ b/site/layouts/contact/single.html
@@ -5,25 +5,17 @@
<div class="ph3 bg-off-white">
<div class="center mw6 pv3">
- <img src="/img/logo.svg" alt="" class="db w4 center pv4">
+ <img src="{{ .Params.logo }}" alt="" class="db w4 center pv4">
- <p>We’d love to get in touch with you and hear your ideas and questions. We strive to grow and improve constantly and your feedback is valuable for us.</p>
-
- <h3 class="f4 b lh-title mb2">How can I get…?</h3>
- <p>You can also use the form below for any inquiries about coffee availability, monthly subscriptions and scheduling a 1-on-1 session with our baristas. Don’t be shy, drop us a line!</p>
+ {{ .Content }}
<div class="flex-ns mb3">
-
- <div>
- <h4 class="f4 b lh-title mb2 primary">Location</h4>
- <p>3153 Lynn Avenue, South San Francisco, California 94080</p>
- </div>
-
- <div>
- <h4 class="f4 b lh-title mb2 primary">Working hours</h4>
- <p>Monday – Saturday: 9AM – 7PM We’re closed on Sundays</p>
- </div>
-
+ {{ range .Params.contact_entries }}
+ <div>
+ <h4 class="f4 b lh-title mb2 primary">{{ .heading }}</h4>
+ <p>{{ .text }}</p>
+ </div>
+ {{ end }}
</div>
{{ partial "contact-form" . }}