diff --git a/layouts/shortcodes/huggingface.html b/layouts/shortcodes/huggingface.html index 154a469a..8001ead5 100644 --- a/layouts/shortcodes/huggingface.html +++ b/layouts/shortcodes/huggingface.html @@ -18,11 +18,11 @@ {{- $huggingfaceData := dict -}} {{- with try (resources.GetRemote $hfAPI) -}} {{- with .Err -}} - {{- warnf "huggingface shortcode: failed to fetch remote resource from %q: %s" $hfAPI .Position -}} + {{- warnf "huggingface shortcode: failed to fetch remote resource from %q: %s" $hfAPI $.Position -}} {{- else with .Value -}} {{- $huggingfaceData = . | transform.Unmarshal -}} {{- else -}} - {{- warnf "huggingface shortcode: unable to get remote resource from %q: %s" $hfAPI .Position -}} + {{- warnf "huggingface shortcode: unable to get remote resource from %q: %s" $hfAPI $.Position -}} {{- end -}} {{- end -}} @@ -33,7 +33,7 @@ class="w-full md:w-auto p-0 m-0 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">