Fix rendering issues due to capitalization in param names

This commit is contained in:
lucperkins
2018-08-04 13:28:05 +02:00
parent a7d8f69fb8
commit 0376f2cb37
3 changed files with 6 additions and 6 deletions

View File

@@ -9,12 +9,12 @@ params:
title: Manage. Deploy. title: Manage. Deploy.
# Hero subtitle (optional) # Hero subtitle (optional)
subtitle: Lorem ipsum sit dolor amet is dummy text used by the typography industry subtitle: Lorem ipsum sit dolor amet is dummy text used by the typography industry
buttonText: Get started buttontext: Get started
buttonLink: "#" buttonlink: "#"
# Hero image (from /images/___) # Hero image (from /images/___)
image: illustrations/worker.svg image: illustrations/worker.svg
# Footer logos (from /images/logos/clients/___.svg) # Footer logos (from /images/logos/clients/___.svg)
clientLogos: clientlogos:
- systek - systek
- tribe - tribe
- kromo - kromo

View File

@@ -1,8 +1,8 @@
{{- $hero := .Site.Params.hero }} {{- $hero := .Site.Params.hero }}
{{- $title := index $hero "title" }} {{- $title := index $hero "title" }}
{{- $subtitle := index $hero "subtitle" }} {{- $subtitle := index $hero "subtitle" }}
{{- $buttonText := index $hero "buttonText" }} {{- $buttonText := index $hero "buttontext" }}
{{- $buttonLink := index $hero "buttonLink" }} {{- $buttonLink := index $hero "buttonlink" }}
{{- $image := index $hero "image" }} {{- $image := index $hero "image" }}
<div class="hero-body"> <div class="hero-body">
<div class="container"> <div class="container">

View File

@@ -1,5 +1,5 @@
{{- $hero := .Site.Params.hero }} {{- $hero := .Site.Params.hero }}
{{- $clientLogos := index $hero "clientLogos" }} {{- $clientLogos := index $hero "clientlogos" }}
<div class="hero-foot mb-20"> <div class="hero-foot mb-20">
<div class="container"> <div class="container">
<div class="tabs is-centered"> <div class="tabs is-centered">