From 87586e58aef6c2392dccc0b9f109bdf695a7d6f4 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 3 Aug 2025 06:41:12 +0800 Subject: [PATCH] chore(huggingface): fix typo --- layouts/shortcodes/huggingface.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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">