You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Just spent a while figuring out what I'm doing wrong, only to discover a recent commit changed away from a slice to a map, breaking the social/share links. I'm not too knowledgeable about all the internals with the caching, but I presume now it will need to iterate through the array and load the appropriate network configuration from the map, perhaps the workarounds in the layouts/partials/social/follow.html and similar files aren't as necessary anymore? I'm happy to test out changes (otherwise I should probably stick to tagged releases with my submodule 😅)
I would suggest to switch to GoHugo module instead of submodule integration. This way that whole version numbering works better. Sorry about the hickup, I'll try to finish up this release this week. It's mostly about writing documentation.
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:
to
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.
The text was updated successfully, but these errors were encountered: