wip: make theme workable with hugoBasicExample site
This commit is contained in:
parent
07e816219f
commit
e7b2fba1b0
24 changed files with 343 additions and 34 deletions
5
layouts/partials/helpers/get-hero.html
Normal file
5
layouts/partials/helpers/get-hero.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{ $heroImage:= "/assets/images/default-hero.jpg"}}
|
||||
{{ if .hero }}
|
||||
{{ $heroImage = .hero }}
|
||||
{{ end }}
|
||||
{{ return $heroImage }}
|
Loading…
Add table
Add a link
Reference in a new issue