Make theme compatible with hugoBasicExamples
Signed-off-by: hossainemruz <emruz@appscode.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{ $heroImage:= "/assets/images/default-hero.jpg"}}
|
||||
{{ if .hero }}
|
||||
{{ $heroImage = .hero }}
|
||||
{{ if .Params.hero }}
|
||||
{{ $heroImage = .Params.hero }}
|
||||
{{ end }}
|
||||
{{ return $heroImage }}
|
||||
|
||||
Reference in New Issue
Block a user