{{- $assetBusting := not .Site.Params.disableAssetsBusting -}}
{{- if (fileExists "/static/images/favicon.svg") }}
{{- else if (fileExists "/static/images/favicon.png") }}
{{- else if (fileExists "/static/images/favicon.ico") }}
{{- else if (fileExists "/static/images/logo.svg") }}
{{- else if (fileExists "/static/images/logo.png") }}
{{- else if (fileExists "/static/images/logo.ico") }}
{{- end }}