Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/Hargo-hugo-ecommerce-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehedi Sharif Titas <mehedishariftitas@gmail.com>2022-10-16 09:58:49 +0300
committerGitHub <noreply@github.com>2022-10-16 09:58:49 +0300
commit057082a28e930133c8856a3159721d666e31c802 (patch)
tree43fdbc80f47a0aa9c0b4f55e903de0d19909ce62 /layouts
parent4515d37325f8efa1db041a9ab70815aa44369b2c (diff)
parent6649736661a45117d67f9ff38bf998f645f751d6 (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.html4
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 -->