hugo-toha/layouts/partials/helpers/get-hero.html
hossainemruz dbd270eaee Make theme compatible with hugoBasicExamples
Signed-off-by: hossainemruz <emruz@appscode.com>
2020-06-02 03:59:39 +06:00

5 lines
145 B
HTML

{{ $heroImage:= "/assets/images/default-hero.jpg"}}
{{ if .Params.hero }}
{{ $heroImage = .Params.hero }}
{{ end }}
{{ return $heroImage }}