Add safeCSS to page background image url

This commit is contained in:
Joe Hutchinson
2018-12-20 10:03:53 -05:00
parent 60adc8b19c
commit b4fc6bf87d

View File

@@ -16,7 +16,7 @@
{{ if isset $.Site.Params "bgimg" }} {{ if isset $.Site.Params "bgimg" }}
<style> <style>
body { body {
background: #ecedef url("{{ $.Site.Params.bgimg }}") repeat; background: #ecedef url("{{ $.Site.Params.bgimg | safeCSS }}") repeat;
} }
</style> </style>
{{ end }} {{ end }}