{{- $assetBusting := partialCached "assetbusting.gotmpl" . }}
{{- $filePath := "css/custom.css" }}
{{- with (resources.Get (printf "/%s" $filePath)) }}
{{- else }}
{{- if (fileExists (printf "/static/%s" $filePath)) }}
{{- end }}
{{- end }}
{{- $filePath := "js/custom.js" }}
{{- with (resources.Get (printf "/%s" $filePath)) }}
{{- else }}
{{- if (fileExists (printf "/static/%s" $filePath)) }}
{{- end }}
{{- end }}