Fix rendering in https://themes.gohugo.io/
This commit is contained in:
parent
7317ba53de
commit
8184658c19
14 changed files with 61 additions and 43 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
{{/* if hero image is not provided, then use the default hero image */}}
|
||||
{{ if not $heroImage }}
|
||||
{{ $heroImage:= resources.Get "images/default-hero.jpg"}}
|
||||
{{ $heroImage := resources.Get "images/default-hero.jpg"}}
|
||||
{{ .Scratch.Set "heroScratch" $heroImage }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue