chore: add warn message for GetRemote usage in shortcodes

This commit is contained in:
ZhenShuo Leo committed 2025-07-13 19:56:39 +08:00
1 parent 2c71bda97f
commit d8bdf7e316
6 files changed
+11 -3

No files matched your search

+2
View File
@@ -71,5 +71,7 @@
data-repo-url="{{ $githubURL }}"
data-repo-id="{{ $id }}"></script>
</a>
{{- else -}}
{{ warnf "github shortcode: unable to fetch %q: %s" $githubURL .Position }}
{{- end -}}
</div>