🎨 Optimize resource fingerprint replace with unixtime for CDN.
This commit is contained in:
4
layouts/partials/_funs/add_unix_param.html
Normal file
4
layouts/partials/_funs/add_unix_param.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{/** Add unix time end of link URL. **/}}
|
||||
{{ $timeUnix := time.Now.Unix }}
|
||||
{{ $withTimeLink := printf "%s?=%d" . $timeUnix }}
|
||||
{{ return $withTimeLink }}
|
||||
Reference in New Issue
Block a user