diff options
author | Yauhen Makei <yauhen.makei@gmail.com> | 2022-07-31 16:02:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 16:02:15 +0300 |
commit | 6649736661a45117d67f9ff38bf998f645f751d6 (patch) | |
tree | 84c807ff7a97bd51e67eb41b3747ac8f2de9deaa | |
parent | 646a345351a1b62ee578b62db23823014cbf9abb (diff) |
Maybe it should't be on every page
If it is disabled on homepage why it should appears on another pages?
-rw-r--r-- | layouts/partials/cta.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/cta.html b/layouts/partials/cta.html index d1a466e..cb538bb 100644 --- a/layouts/partials/cta.html +++ b/layouts/partials/cta.html @@ -1,4 +1,5 @@ <!-- call to action --> +{{ if site.Data.homepage.cta.enable }} {{ with site.Data.homepage.cta }} <section class="py-4 bg-gradient position-relative"> <img src="{{ .overlayImage | absURL }}" class="img-fluid overlay-image" alt=""> @@ -18,4 +19,5 @@ </div> </section> {{ end }} -<!-- /call to action -->
\ No newline at end of file +{{ end }} +<!-- /call to action --> |