Revert "🐛 Fix: Reassignment of variable names"

This reverts commit 80486364cd.
This commit is contained in:
ZhenShuo Leo committed 2025-07-11 09:09:43 +08:00
1 parent 0999dc2319
commit 95b62176cf
4 files changed
+13 -13

No files matched your search

+1 -1
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*}" }}