Add safeCSS to page background image url
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user