Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: social media network array override by custom network configuration #808

Open
davidsneighbour opened this issue Dec 14, 2024 · 0 comments
Assignees

Comments

@davidsneighbour
Copy link
Collaborator

The table in [[params.ananke.social.networks]] is overridden by custom local configurations.

See discussion in #805

Possible Solution

I think we need to rework the way custom social networks are integrated from the current solution:

[[params.ananke.social.networks]] 
slug = "wikipedia" 
label = "Wikipedia" 
color = "#0645ad" 
profile = "https://en.wikipedia.org/wiki/%s" 
icon = "wikipedia-w" 

to

[params.ananke.social.networks.wikipedia]
label = "Wikipedia" 
color = "#0645ad" 
profile = "https://en.wikipedia.org/wiki/%s" 
icon = "wikipedia-w" 

where the slug is the key of the array. This makes it easy to override specific pre-defined networks and also define new items without breaking the pre-configured items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant