@@ -44,3 +45,4 @@
{{ $element.name | markdownify }}
{{ end }}
{{ end }}
{{ end }}
+{{ end }}
diff --git a/layouts/partials/testimonials.html b/layouts/partials/testimonials.html
index a14b3b6ba..c6af78207 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 }}
@@ -51,3 +52,4 @@
{{ .name }}
{{ end }}
{{ end }}
{{ end }}
+{{ end }}