From 35d5eed8fe9569e36207e2ab68f079d64bfb3942 Mon Sep 17 00:00:00 2001 From: Chaoming Li Date: Mon, 18 Nov 2024 10:56:06 +1100 Subject: [PATCH] feat: add client logos shortcode with animation toggle --- layouts/index.html | 10 ---- layouts/shortcodes/client-logos.html | 71 ++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 10 deletions(-) create mode 100644 layouts/shortcodes/client-logos.html diff --git a/layouts/index.html b/layouts/index.html index d1824ad..caef66f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,16 +4,6 @@ {{ .Content }} {{ end }} - -
-
-

Trusted by leading companies worldwide

-
- Client Logo -
-
-
-
diff --git a/layouts/shortcodes/client-logos.html b/layouts/shortcodes/client-logos.html new file mode 100644 index 0000000..b68bdef --- /dev/null +++ b/layouts/shortcodes/client-logos.html @@ -0,0 +1,71 @@ +
+
+

{{ .Get "title" | default "Trusted by leading companies worldwide" }}

+
+
+ {{ range .Page.Params.client_logos }} + {{ .name }} + {{ end }} + {{ if ne (.Get "animate" | default "true") "false" }} + {{ range .Page.Params.client_logos }} + {{ .name }} + {{ end }} + {{ end }} +
+
+
+
+ +