From f5800afdcee25d4aced2795995f4060c5f45d6a2 Mon Sep 17 00:00:00 2001
From: "I'M YourOnly.One" <1079205+techmagus@users.noreply.github.com>
Date: Sat, 25 Sep 2021 06:36:38 +0800
Subject: [PATCH 1/4] delicious and google bookmarks discontinued
---
layouts/partials/body/share.html | 8 --------
1 file changed, 8 deletions(-)
diff --git a/layouts/partials/body/share.html b/layouts/partials/body/share.html
index 60467af..a3645e2 100644
--- a/layouts/partials/body/share.html
+++ b/layouts/partials/body/share.html
@@ -63,14 +63,6 @@
{{ partial "svgs/share/pinterest.svg" (dict "width" 35 "height" 35) }}
- {{ else if eq (lower .name) "delicious" }}
-
- {{ partial "svgs/share/delicious.svg" (dict "width" 35 "height" 35) }}
-
- {{ else if eq (lower .name) "google" }}
-
- {{ partial "svgs/share/google.svg" (dict "width" 35 "height" 35) }}
-
{{ end }}
{{ end }}
From c2ed0cc6aea77b66eee7cb9cc270fa399b6b688a Mon Sep 17 00:00:00 2001
From: "I'M YourOnly.One" <1079205+techmagus@users.noreply.github.com>
Date: Sat, 25 Sep 2021 06:37:35 +0800
Subject: [PATCH 2/4] delicious and google bookmarks discontinued
---
exampleSite/config/_default/params.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml
index 2d7b955..3013251 100644
--- a/exampleSite/config/_default/params.toml
+++ b/exampleSite/config/_default/params.toml
@@ -199,7 +199,7 @@ commento = false
paypal = ""
patreon = ""
-# possible share name: ["facebook","twitter", "reddit", "linkedin", "tumblr", "weibo", "douban", "line", "pocket", "feedly", "hatena", "pinterest", "delicious", "google"]
+# possible share name: ["facebook","twitter", "reddit", "linkedin", "tumblr", "weibo", "douban", "line", "pocket", "feedly", "hatena", "pinterest"]
[[share]]
name = "facebook"
username = ""
@@ -211,4 +211,4 @@ commento = false
link = ""
[[footerLinks]]
name = ""
- link = ""
\ No newline at end of file
+ link = ""
From 85b45d1b5135f929e5065b7e317c631065cfacda Mon Sep 17 00:00:00 2001
From: "I'M YourOnly.One" <1079205+techmagus@users.noreply.github.com>
Date: Sat, 25 Sep 2021 07:53:06 +0800
Subject: [PATCH 3/4] fix: i18n keys
* Social services i18n keys had "line" as a key, fixed accordingly.
---
layouts/partials/body/share.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/layouts/partials/body/share.html b/layouts/partials/body/share.html
index a3645e2..9d96422 100644
--- a/layouts/partials/body/share.html
+++ b/layouts/partials/body/share.html
@@ -40,27 +40,27 @@
{{ partial "svgs/share/line.svg" (dict "width" 35 "height" 35) }}
{{ else if eq (lower .name) "telegram" }}
-
+
{{ partial "svgs/social/telegram.svg" (dict "width" 35 "height" 35) }}
{{ else if eq (lower .name) "whatsapp" }}
-
+
{{ partial "svgs/social/whatsapp.svg" (dict "width" 35 "height" 35) }}
{{ else if eq (lower .name) "pocket" }}
-
+
{{ partial "svgs/share/pocket.svg" (dict "width" 35 "height" 35) }}
{{ else if eq (lower .name) "feedly" }}
-
+
{{ partial "svgs/share/feedly.svg" (dict "width" 35 "height" 35) }}
{{ else if eq (lower .name) "hatena" }}
-
+
{{ partial "svgs/share/hatena.svg" (dict "width" 35 "height" 35) }}
{{ else if eq (lower .name) "pinterest" }}
-
+
{{ partial "svgs/share/pinterest.svg" (dict "width" 35 "height" 35) }}
{{ end }}
From d7f8c524288112c031be8d59bdc0dc1a115ce471 Mon Sep 17 00:00:00 2001
From: "I'M YourOnly.One" <1079205+techmagus@users.noreply.github.com>
Date: Sat, 25 Sep 2021 07:56:11 +0800
Subject: [PATCH 4/4] fix: added missing share services
Added "telegram" and "whatsapp" in the list.
---
exampleSite/config/_default/params.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml
index 3013251..ffe005f 100644
--- a/exampleSite/config/_default/params.toml
+++ b/exampleSite/config/_default/params.toml
@@ -199,7 +199,7 @@ commento = false
paypal = ""
patreon = ""
-# possible share name: ["facebook","twitter", "reddit", "linkedin", "tumblr", "weibo", "douban", "line", "pocket", "feedly", "hatena", "pinterest"]
+# possible share name: ["facebook", "twitter", "reddit", "linkedin", "tumblr", "weibo", "douban", "line", "telegram", "whatsapp", "pocket", "feedly", "hatena", "pinterest"]
[[share]]
name = "facebook"
username = ""