mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-20 22:51:53 +02:00
apply bg-gradient-to-r css based on homepageImageGradientOverlay
This commit is contained in:
parent
d983f36366
commit
800848cf5b
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
{{ if $homepageImage }}
|
{{ if $homepageImage }}
|
||||||
<img class="h-full w-full object-cover m-0 nozoom" src="{{ $homepageImage.RelPermalink }}">
|
<img class="h-full w-full object-cover m-0 nozoom" src="{{ $homepageImage.RelPermalink }}">
|
||||||
<div
|
<div
|
||||||
class="absolute inset-0 bg-gradient-to-r from-primary-500 to-secondary-700 dark:from-primary-600 dark:to-secondary-800 mix-blend-multiply">
|
class="absolute inset-0 {{ if .Site.Params.homepage.homepageImageGradientOverlay }}bg-gradient-to-r{{ end }} from-primary-500 to-secondary-700 dark:from-primary-600 dark:to-secondary-800 mix-blend-multiply">
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue