mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
6 lines
197 B
Text
6 lines
197 B
Text
|
{{- $assetsBuster := "" }}
|
||
|
{{- $assetBusting := not site.Params.disableAssetsBusting }}
|
||
|
{{- if $assetBusting }}
|
||
|
{{- $assetsBuster = printf "?%d" now.Unix }}
|
||
|
{{- end }}
|
||
|
{{- return $assetsBuster }}
|