mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
6 lines
No EOL
197 B
Go Template
6 lines
No EOL
197 B
Go Template
{{- $assetsBuster := "" }}
|
|
{{- $assetBusting := not site.Params.disableAssetsBusting }}
|
|
{{- if $assetBusting }}
|
|
{{- $assetsBuster = printf "?%d" now.Unix }}
|
|
{{- end }}
|
|
{{- return $assetsBuster }} |