From ef4a6a0cfef5bdd2550512b1aa5499f036b8e8b2 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Sun, 20 Oct 2024 15:26:55 +0700 Subject: [PATCH] theme(fix): smaller config fixes for social media integration Signed-off-by: Patrick Kollitsch --- 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]] @@ -60,6 +60,11 @@ slug = "twitter" profile = "https://twitter.com/%s" 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" 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 @@ description = "The last theme you'll ever need. Maybe." 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"