-
-
- {{ partial "image" (dict "Src" .image "Alt" "feature image" "DisplayXL" "520x" "DisplayLG" "425x" "DisplayMD" "360x") }}
-
-
-
- {{ .title | markdownify }}
-
-
- {{ .content | markdownify }}
-
-
- {{ range .bulletpoints }}
- -
-
- {{ . | markdownify }}
-
- {{ end }}
-
- {{ with .button }}
- {{ if .enable }}
-
- {{ .label }}
-
-
- {{ end }}
- {{ end }}
-
+
+ {{ partial "components/IconHeaderSubheaderText" (dict "icon" .icon "headline" .headline "subline" .subline "text" .content) }}
- {{ end }}
-
-
+{{ end }}
+
{{ with site.GetPage "sections/testimonial" }}
{{ if .Params.enable }}
diff --git a/themes/hugoplate/layouts/partials/components/IconHeaderSubheaderText.html b/themes/hugoplate/layouts/partials/components/IconHeaderSubheaderText.html
new file mode 100644
index 0000000..2120818
--- /dev/null
+++ b/themes/hugoplate/layouts/partials/components/IconHeaderSubheaderText.html
@@ -0,0 +1,18 @@
+{{ define "IconHeaderSubheaderText" }}
+
+ {{ with .icon }}
+
+ {{ end }}
+
+ {{ with .headline }}
+
{{ . }}
+ {{ end }}
+ {{ with .subline }}
+
{{ . }}
+ {{ end }}
+ {{ with .text }}
+
{{ . }}
+ {{ end }}
+
+
+{{ end }}
\ No newline at end of file