Merge 25f2c85101
into 1f17e61ad6
This commit is contained in:
commit
283de45b9d
1 changed files with 1 additions and 1 deletions
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue