From b0930086ef3511d7901668c6c6fc6d5c2fa295e3 Mon Sep 17 00:00:00 2001 From: tkepassport39 Date: Sun, 16 Aug 2020 23:00:14 -0400 Subject: [PATCH] correct camelcase --- exampleSite/config.yaml | 2 +- layouts/partials/sections/home.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 8aa8225..de3faf9 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -62,7 +62,7 @@ params: # home page greeting message # if empty it will default to "Hi, I am" - home_greeting: + homeGreeting: message: "" # some information about you diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html index d385b38..ad508e5 100644 --- a/layouts/partials/sections/home.html +++ b/layouts/partials/sections/home.html @@ -8,8 +8,8 @@ class="rounded-circle mx-auto d-block img-fluid" />

- {{ if .Site.Params.home_greeting.message}} - {{ .Site.Params.home_greeting.message}} + {{ if .Site.Params.homeGreeting.message}} + {{ .Site.Params.homeGreeting.message}} {{ else }} Hi, I am {{ end }}