Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
HEIGE-PCloud committed Jan 17, 2025
1 parent 2d882b6 commit edd7098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/function/getRemoteImage.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{- end -}}

{{- if (eq $suffixList false) | or $valid -}}
{{- with $remoteResource := resources.GetRemote . -}}
{{- with try $remoteResource := resources.GetRemote . -}}
{{- with .Err -}}
{{- warnf "%s" . -}}
{{ else }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/plugin/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{{- $optimise := .Optimise | default site.Params.image.optimise | default false -}}

{{- if not $resource | and $isUrlRemote | and $cacheRemote -}}
{{- with $remoteResource := resources.GetRemote .Src -}}
{{- with try $remoteResource := resources.GetRemote .Src -}}
{{- with .Err -}}
{{- warnf "%s" . -}}
{{ else }}
Expand Down

0 comments on commit edd7098

Please sign in to comment.