theme(fix): smaller config fixes for social media integration

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
Patrick Kollitsch 2024-10-20 15:26:55 +07:00
parent e2360e7ce7
commit ef4a6a0cfe
No known key found for this signature in database
GPG key ID: 5A5360B005AD68C7
2 changed files with 20 additions and 7 deletions

View file

@ -1,13 +1,13 @@
[ananke.social] [ananke.social]
icon_path = "ananke/socials/%s.svg" icon_path = "ananke/socials/%s.svg"
[ananke.social.follow] # [ananke.social.follow]
new_window_icon = false # show a little "opens in new window" icon next to the link # new_window_icon = false # show a little "opens in new window" icon next to the link
networks = [ # networks = [
"facebook", # "facebook",
"bluesky", # "bluesky",
"linkedin" # "linkedin"
] # ]
# social media network setups # social media network setups
[[ananke.social.networks]] [[ananke.social.networks]]
@ -60,6 +60,11 @@ slug = "twitter"
profile = "https://twitter.com/%s" profile = "https://twitter.com/%s"
icon = "twitter" # font awesome brand icon name icon = "twitter" # font awesome brand icon name
[[ananke.social.networks]]
slug = "whatsapp"
profile = false
icon = "whatsapp" # font awesome brand icon name
[[ananke.social.networks]] [[ananke.social.networks]]
slug = "xing" slug = "xing"
profile = "https://www.xing.com/profile/%s" profile = "https://www.xing.com/profile/%s"

View file

@ -38,6 +38,14 @@ description = "The last theme you'll ever need. Maybe."
background_color_class = "bg-black" background_color_class = "bg-black"
recent_posts_number = 3 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]
[params.ananke.social.facebook] [params.ananke.social.facebook]
username = "patrick.kollitsch" username = "patrick.kollitsch"