mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
20.26.2024 ef4a6a0cfef5bdd2550512b1aa5499f036b8e8b2
theme(fix): smaller config fixes for social media integration

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2 files modified
27 ■■■■ changed files
config/_default/params.toml 19 ●●●●● patch | view | raw | blame | history
exampleSite/config.toml 8 ●●●●● patch | view | raw | blame | history
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
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"