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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/testimonials.html')
-rw-r--r--layouts/partials/testimonials.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/testimonials.html b/layouts/partials/testimonials.html
index a14b3b6..c6af782 100644
--- a/layouts/partials/testimonials.html
+++ b/layouts/partials/testimonials.html
@@ -1,5 +1,6 @@
{{ if isset .Site.Params "testimonials" }}
{{ if .Site.Params.testimonials.enable }}
+{{ if isset .Site.Data "testimonials" }}
{{ if gt (len .Site.Data.testimonials) 0 }}
<section class="bar background-pentagon no-mb">
<div class="container">
@@ -51,3 +52,4 @@
{{ end }}
{{ end }}
{{ end }}
+{{ end }}