aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/index.html
diff options
context:
space:
mode:
authorMathias Biilmann <info@mathias-biilmann.net>2017-12-07 10:20:11 -0800
committerGitHub <noreply@github.com>2017-12-07 10:20:11 -0800
commit8745627e7d171b4b1fd2062b4328bf23899663e9 (patch)
tree5f0399bf843f5a3055e0bb6d3da6774b1a01f307 /site/layouts/index.html
parent2db9a63c54df63e95c1fbf39391d201c98a62b86 (diff)
parenta4bfd44601069a1b054c396ad754c8a2b7ec688c (diff)
Merge pull request #11 from netlify-templates/update-for-cms-1-0
Update for CMS 1.0
Diffstat (limited to 'site/layouts/index.html')
-rw-r--r--site/layouts/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/site/layouts/index.html b/site/layouts/index.html
index e57ce45..a21df24 100644
--- a/site/layouts/index.html
+++ b/site/layouts/index.html
@@ -2,13 +2,13 @@
{{ partial "nav" . }}
-{{ partial "jumbotron" (dict "imageUrl" "/img/home/jumbotron.jpg" "title" "Great coffee with a conscience" "subtitle" "Support sustainable farming while enjoying a cup") }}
+{{ partial "jumbotron" (dict "imageUrl" .Params.image "title" .Title "subtitle" .Params.subtitle) }}
-{{ partial "short-text" (dict "heading" "Why Kaldi?" "text" "Kaldi is the coffee store for everyone who believes that great coffee shouldn't just taste good, it should do good too. We source all of our beans directly from small scale sustainable farmers and make sure part of the profits are reinvested in their communities.")}}
+{{ partial "short-text" .Params.blurb}}
-{{ partial "2-up" (dict "heading" "What we offer" "description" "Kaldi is the ultimate spot for coffee lovers who want to learn about their java’s origin and support the farmers that grew it. We take coffee production, roasting and brewing seriously and we’re glad to pass that knowledge to anyone." "svg1" "img/illustrations/coffee.svg" "text1" "We sell green and roasted coffee beans that are sourced directly from independent farmers and farm cooperatives. We’re proud to offer a variety of coffee beans grown with great care for the environment and local communities. Check our post or contact us directly for current availability." "svg2" "/img/illustrations/coffee-gear.svg" "text2" "We offer a small, but carefully curated selection of brewing gear and tools for every taste and experience level. No matter if you roast your own beans or just bought your first french press, you’ll find a gadget to fall in love with in our shop." "buttonText" "See all products" "buttonLink" "/products" ) }}
+{{ partial "2-up" .Params }}
-{{ partial "text-and-image" (dict "heading" "Our values" "text" "Coffee is an amazing part of human culture but it has a dark side too – one of colonialism and mindless abuse of natural resources and human lives. We want to turn this around and return the coffee trade to the drink’s exhilarating, empowering and unifying nature." "buttonText" "Read more" "buttonLink" "/values") }}
+{{ partial "text-and-image" (dict "heading" .Params.values.heading "text" .Params.values.text "buttonText" "Read more" "buttonLink" "/values") }}
{{ partial "blog" . }}