diff --git a/exampleSite/config.toml b/exampleSite/config.toml index eb869e8..63af55f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -15,7 +15,7 @@ MetaDataFormat = "yaml" description = "A place to publish my incomprehensible ramblings" #meta description image = "/images/avatar-192x210.png" #for frontpage profile card mdlPrimary = "grey" - mdlSecondary = "orange" + mdlAccent = "orange" website = "example.com" email = "Firstname@example.com" twitter = "https://twitter.com/firstname_lastname" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 906e069..53d32ca 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -31,12 +31,12 @@ - {{- if isset .Site.Params "mdlPrimary" }} + {{- if isset .Site.Params "mdlprimary" }} {{- $.Scratch.Set "mdlPrimary" .Site.Params.mdlPrimary }} {{- else }} {{- $.Scratch.Set "mdlPrimary" "grey" }} {{- end }} - {{- if isset .Site.Params "mdlAccent" }} + {{- if isset .Site.Params "mdlaccent" }} {{- $.Scratch.Set "mdlAccent" .Site.Params.mdlAccent }} {{- else }} {{- $.Scratch.Set "mdlAccent" "orange" }}