Update head.html
This commit is contained in:
parent
c9ceedca9f
commit
8f137557f7
@ -38,7 +38,7 @@
|
|||||||
{{ $cdn_url := ""}}
|
{{ $cdn_url := ""}}
|
||||||
{{ if eq ( getenv "HUGO_ENV" ) "production" }}
|
{{ if eq ( getenv "HUGO_ENV" ) "production" }}
|
||||||
{{ with .Site.Params.cdn_url }}
|
{{ with .Site.Params.cdn_url }}
|
||||||
{{ $cdn_url = .}}
|
{{ $cdn_url := .}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .Scratch.Set "cdn_url" $cdn_url }}
|
{{ .Scratch.Set "cdn_url" $cdn_url }}
|
||||||
|
Loading…
Reference in New Issue
Block a user