From 58e742ef62f789842e1616328e60127da632de8a Mon Sep 17 00:00:00 2001
From: Ramiro Morales <ramiro@users.noreply.github.com>
Date: Fri, 25 Oct 2024 23:05:18 +0000
Subject: [PATCH] theme(fix): share link building when `params` particle is present (#769)

---
 layouts/partials/func/social/getShareLink.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/func/social/getShareLink.html b/layouts/partials/func/social/getShareLink.html
index 5025ae9..49c9390 100644
--- a/layouts/partials/func/social/getShareLink.html
+++ b/layouts/partials/func/social/getShareLink.html
@@ -10,7 +10,7 @@
 {{- $link := fmt.Printf "%s%s" $setup.link "?" -}}
 {{- range $key, $value := $setup.particles -}}
   {{- if compare.Eq $key "params" -}}
-    {{- $link = fmt.Printf "%s%s%s" $permalink $separator $value -}}
+    {{- $link = fmt.Printf "%s%s%s" $link $separator $value -}}
   {{- else -}}
     {{- if compare.Eq $value "description" -}}
       {{- $link = fmt.Printf "%s%s%s" $link $separator (collections.Querify $key $description) -}}

--
Gitblit v1.10.0