Skip to content

Commit

Permalink
config(fix): no default networks, move networks config to exampleSite
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Kollitsch <[email protected]>
  • Loading branch information
davidsneighbour committed Oct 23, 2024
1 parent 2cfb09e commit 396d013
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
28 changes: 15 additions & 13 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down
9 changes: 8 additions & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 396d013

Please sign in to comment.