From 396d0138ace7c53a6378711dcd5570099bfa0b95 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Thu, 24 Oct 2024 06:14:45 +0700 Subject: [PATCH] config(fix): no default networks, move networks config to exampleSite Signed-off-by: Patrick Kollitsch --- config/_default/params.toml | 28 +++++++++++++++------------- exampleSite/config.toml | 9 ++++++++- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 0b560f6..4307428 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -3,21 +3,23 @@ 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" -] +# add networks to this list in your local config to enable them, remove them to disable them. +# networks = [ +# "facebook", +# "bluesky", +# "linkedin" +# ] [ananke.social.share] -icons = true -sharetext = true -networks = [ - "email", - "facebook", - "bluesky", - "linkedin" -] +icons = true # show icons for each share link +sharetext = true # show the share text +# add networks to this list in your local config to enable them, remove them to disable them. +# networks = [ +# "email", +# "facebook", +# "bluesky", +# "linkedin" +# ] # social media network setups [[ananke.social.networks]] diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4cd9db3..093ebac 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -42,8 +42,15 @@ featured_image_class = "cover bg-top" cover_dimming_class = "bg-black-60" recent_posts_number = 3 +[params.ananke.social.share] +networks = [ + "email", + "facebook", + "bluesky", + "linkedin" +] + [params.ananke.social.follow] -new_window_icon = false # show a little "opens in new window" icon next to the link networks = [ "facebook", "bluesky",