fixed fullscreen jumbotron height; don't render jumbotron if not home page
This commit is contained in:
parent
fc530bc483
commit
c1ebf68128
2 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{ if (and (.Site.Params.enableJumbotron | default false) .Site.Data.jumbotron) }}
|
||||
{{ if and .IsHome (and (.Site.Params.enableJumbotron | default false) .Site.Data.jumbotron) }}
|
||||
<div class="jumbotron">
|
||||
{{ if .Site.Data.jumbotron.image }}
|
||||
<img src="{{ .Site.Data.jumbotron.image }}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue