Revert "🐛 Fix: Reassignment of variable names"

This reverts commit 80486364cd.
This commit is contained in:
ZhenShuo Leo
2025-07-11 08:59:42 +08:00
parent 0999dc2319
commit 95b62176cf
4 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
{{ $images := .Resources.ByType "image" }}
{{ $backgroundImage := $images.GetMatch "*background*" }}
{{ if not $backgroundImage }}
{{ $backgroundImage = $images.GetMatch "*feature*" }}
{{ $backgroundImage := $images.GetMatch "*feature*" }}
{{ end }}
{{ if not $backgroundImage }}
{{ $backgroundImage = $images.GetMatch "{*cover*,*thumbnail*}" }}