chore: hotlinkFeatureImages -> hotlinkFeatureImage

This commit is contained in:
ZhenShuo Leo
2025-09-27 09:12:58 +08:00
parent 9eebb5b2aa
commit 22f097f92a
15 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
{{ $featuredURL := "" }}
{{ with .Params.featureimage }}
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
{{ if site.Params.hotlinkFeatureImages }}
{{ if site.Params.hotlinkFeatureImage }}
{{ $featuredURL = . }}
{{ else }}
{{ $featured = resources.GetRemote . }}