From ef4a6a0cfef5bdd2550512b1aa5499f036b8e8b2 Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <patrick@davids-neighbour.com>
Date: Sun, 20 Oct 2024 08:26:55 +0000
Subject: [PATCH] theme(fix): smaller config fixes for social media integration

---
 config/_default/params.toml |   19 ++++++++++++-------
 exampleSite/config.toml     |    8 ++++++++
 2 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/config/_default/params.toml b/config/_default/params.toml
index c030e4c..dd00dc0 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -1,13 +1,13 @@
 [ananke.social]
 icon_path = "ananke/socials/%s.svg"
 
-[ananke.social.follow]
-new_window_icon = false # show a little "opens in new window" icon next to the link
-networks = [
-  "facebook",
-  "bluesky",
-  "linkedin"
-]
+# [ananke.social.follow]
+# new_window_icon = false # show a little "opens in new window" icon next to the link
+# networks = [
+#   "facebook",
+#   "bluesky",
+#   "linkedin"
+# ]
 
 # social media network setups
 [[ananke.social.networks]]
@@ -61,6 +61,11 @@
 icon = "twitter" # font awesome brand icon name
 
 [[ananke.social.networks]]
+slug = "whatsapp"
+profile = false
+icon = "whatsapp" # font awesome brand icon name
+
+[[ananke.social.networks]]
 slug = "xing"
 profile = "https://www.xing.com/profile/%s"
 icon = "xing" # font awesome brand icon name
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 63c06e7..31ff386 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -38,6 +38,14 @@
 background_color_class = "bg-black"
 recent_posts_number = 3
 
+[ananke.social.follow]
+new_window_icon = false # show a little "opens in new window" icon next to the link
+networks = [
+  "facebook",
+  "bluesky",
+  "linkedin"
+]
+
 [params.ananke.social]
 [params.ananke.social.facebook]
 username = "patrick.kollitsch"

--
Gitblit v1.10.0