diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html index 6bb259f..ede33af 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -15,15 +15,15 @@ <div class="hero-body"> <div class="container has-text-centered"> <!-- Title and tagline --> - <h1 class="bold-title {{ if .Site.Params.fadeIn | default true }}fade-in one{{ end }}"> + <h1 class="bold-title {{ if or (.Site.Params.fadeIn | default true) .Site.Params.fadeInIndex }}fade-in one{{ end }}"> {{ .Title }} </h1> - <div class="subtitle is-3 {{ if .Site.Params.fadeIn | default true }}fade-in two{{ end }}"> + <div class="subtitle is-3 {{ if or (.Site.Params.fadeIn | default true) .Site.Params.fadeInIndex }}fade-in two{{ end }}"> {{ .Content }} </div> <!-- End title and tagline --> <!-- Some social icons --> - <div class=" {{ if .Site.Params.fadeIn | default true }}fade-in three{{ end }}"> + <div class="{{ if or (.Site.Params.fadeIn | default true) .Site.Params.fadeInIndex }}fade-in three{{ end }}"> {{ partial "home/social.html" . }} </div> <!-- End top social icons --> @@ -34,7 +34,7 @@ {{ end }} <!-- Done with Hero --> - <div class="{{ if .Site.Params.fadeIn | default true }}fade-in three{{ end }}"> + <div class="{{ if or (.Site.Params.fadeIn | default true) .Site.Params.fadeInIndex }}fade-in three{{ end }}"> <!-- Tell them all about it! --> {{ partial "nav.html" . }} |