From 7913086a0f255a8c3a7878a152471270d0b15805 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch <patrick@davids-neighbour.com> Date: Sun, 20 Oct 2024 08:58:53 +0000 Subject: [PATCH] theme(fix): add labels and label override functionality --- config/_default/params.toml | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index dd00dc0..90e93d2 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,75 +1,83 @@ [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]] slug = "bluesky" +label = "Bluesky" profile = "https://bsky.app/profile/%s" icon = "bluesky" # font awesome brand icon name [[ananke.social.networks]] slug = "email" +label = "Email" profile = false icon = "envelope" # font awesome free icon name [[ananke.social.networks]] slug = "facebook" +label = "Facebook" profile = "https://www.facebook.com/%s" icon = "facebook" # font awesome brand icon name [[ananke.social.networks]] slug = "hackernews" +label = "Hacker News" profile = "https://news.ycombinator.com/user?id=%s" icon = "hacker-news" # font awesome brand icon name [[ananke.social.networks]] slug = "linkedin" +label = "LinkedIn" profile = "http://linkedin.com/in/%s" icon = "linkedin" # font awesome brand icon name [[ananke.social.networks]] slug = "pinterest" +label = "Pinterest" profile = "https://www.pinterest.com/%s/" icon = "pinterest" # font awesome brand icon name [[ananke.social.networks]] slug = "reddit" +label = "Reddit" profile = "https://www.reddit.com/user/%s/" icon = "reddit" # font awesome brand icon name [[ananke.social.networks]] slug = "telegram" +label = "Telegram" profile = "https://t.me/%s" icon = "telegram" # font awesome brand icon name [[ananke.social.networks]] slug = "tumblr" +label = "Tumblr" profile = "https://www.tumblr.com/blog/%s" icon = "tumblr" # font awesome brand icon name [[ananke.social.networks]] slug = "twitter" +label = "Twitter" profile = "https://twitter.com/%s" icon = "twitter" # font awesome brand icon name [[ananke.social.networks]] slug = "whatsapp" +label = "WhatsApp" profile = false icon = "whatsapp" # font awesome brand icon name [[ananke.social.networks]] slug = "xing" +label = "Xing" profile = "https://www.xing.com/profile/%s" icon = "xing" # font awesome brand icon name - -# optional config parameters -# [[ananke.social.networks]] -# rel = "noopener" # set to noopener by default, could contain `me` and other values -- Gitblit v1.10.0