fix: global resources fallback incorrectly removed in #2978

This commit is contained in:
ZhenShuo Leo committed 2026-07-05 14:37:14 +08:00
1 parent 1f14448333
commit c164484993
9 files changed
+48 -14

No files matched your search

@@ -47,6 +47,9 @@
{{ end }}
{{ else }}
{{ $featured = $p.Resources.Get . }}
{{ if not $featured }}
{{ $featured = resources.Get . }}
{{ end }}
{{ end }}
{{ end }}
@@ -89,7 +92,7 @@
role="presentation"
loading="lazy"
decoding="async"
class="not-prose absolute inset-0 w-full h-full object-cover">
class="not-prose absolute inset-0 w-full h-full object-cover" />
</div>
{{ end }}
<div class="{{ $cardContentClasses }}">