diff options
author | Mehedi Sharif Titas <mehedishariftitas@gmail.com> | 2022-10-16 09:58:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 09:58:49 +0300 |
commit | 057082a28e930133c8856a3159721d666e31c802 (patch) | |
tree | 43fdbc80f47a0aa9c0b4f55e903de0d19909ce62 /layouts | |
parent | 4515d37325f8efa1db041a9ab70815aa44369b2c (diff) | |
parent | 6649736661a45117d67f9ff38bf998f645f751d6 (diff) |
Merge pull request #40 from emakei/master
Maybe it should't be on every page
Diffstat (limited to 'layouts')
-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 --> |