mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 00:52:43 +00:00
Use GetMatch in global image matching (#326)
This commit is contained in:
parent
65e4aa5269
commit
3601825580
@ -27,7 +27,7 @@
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{/* If we find a local global Resource matching the exact value, we use it. */}}
|
||||
{{ with resources.Get . }}
|
||||
{{ with resources.GetMatch . }}
|
||||
{{ $coverImage = . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user