diff options
Diffstat (limited to 'layouts/partials/helpers/get-hero.html')
-rw-r--r-- | layouts/partials/helpers/get-hero.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/helpers/get-hero.html b/layouts/partials/helpers/get-hero.html index d253f85..ece8a89 100644 --- a/layouts/partials/helpers/get-hero.html +++ b/layouts/partials/helpers/get-hero.html @@ -3,7 +3,7 @@ {{/* if hero image is specified in the page front-matter, then use that */}} {{ if .Params.hero }} - {{ $heroImage = .Page.Resources.GetMatch .Params.hero }} + {{ $heroImage = resources.Get .Params.hero }} {{ end }} {{ .Scratch.Set "heroScratch" $heroImage }} |