diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2e08a5f..ea7e1a7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -38,7 +38,7 @@ {{ $cdn_url := ""}} {{ if eq ( getenv "HUGO_ENV" ) "production" }} {{ with .Site.Params.cdn_url }} - {{ $cdn_url = .}} + {{ $cdn_url := .}} {{ end }} {{ end }} {{ .Scratch.Set "cdn_url" $cdn_url }}