From 60adc8b19c4dfdf62bce55fe99f43be3612c75ce Mon Sep 17 00:00:00 2001 From: Joe Hutchinson Date: Thu, 20 Dec 2018 09:48:21 -0500 Subject: [PATCH] Add safeCSS for custom home button img --- layouts/partials/home-card.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/home-card.html b/layouts/partials/home-card.html index 33312c4..157a055 100644 --- a/layouts/partials/home-card.html +++ b/layouts/partials/home-card.html @@ -1,4 +1,4 @@ + href="/" class="card home-card" style="background-image: url({{if isset .Site.Params "homeimg"}} {{ .Site.Params.homeimg | safeCSS }} {{ else }} /img/grey-cloud.jpg {{ end }})" rel="bookmark" > Home \ No newline at end of file