Fix rendering issues due to capitalization in param names
This commit is contained in:
@@ -9,12 +9,12 @@ params:
|
||||
title: Manage. Deploy.
|
||||
# Hero subtitle (optional)
|
||||
subtitle: Lorem ipsum sit dolor amet is dummy text used by the typography industry
|
||||
buttonText: Get started
|
||||
buttonLink: "#"
|
||||
buttontext: Get started
|
||||
buttonlink: "#"
|
||||
# Hero image (from /images/___)
|
||||
image: illustrations/worker.svg
|
||||
# Footer logos (from /images/logos/clients/___.svg)
|
||||
clientLogos:
|
||||
clientlogos:
|
||||
- systek
|
||||
- tribe
|
||||
- kromo
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{{- $hero := .Site.Params.hero }}
|
||||
{{- $title := index $hero "title" }}
|
||||
{{- $subtitle := index $hero "subtitle" }}
|
||||
{{- $buttonText := index $hero "buttonText" }}
|
||||
{{- $buttonLink := index $hero "buttonLink" }}
|
||||
{{- $buttonText := index $hero "buttontext" }}
|
||||
{{- $buttonLink := index $hero "buttonlink" }}
|
||||
{{- $image := index $hero "image" }}
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- $hero := .Site.Params.hero }}
|
||||
{{- $clientLogos := index $hero "clientLogos" }}
|
||||
{{- $clientLogos := index $hero "clientlogos" }}
|
||||
<div class="hero-foot mb-20">
|
||||
<div class="container">
|
||||
<div class="tabs is-centered">
|
||||
|
||||
Reference in New Issue
Block a user