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

Fix share link building when params particle is present #769

Conversation

ramiro
Copy link
Contributor

@ramiro ramiro commented Oct 24, 2024

In these cases the site permalink is used instead of the social network URL for sharing as defined in the link value
(https://www.linkedin.com/shareArticle in the below example)

Most visible case is LinkedIn but all social networks that have

[ananke.social.networks.particles]
...
params = "..."

in config/_default/params.toml are affected by this bug.

Closes #768.

In these cases the site permalink is used instead of the social network
URL for sharing as defined in the `link` value
(https://www.linkedin.com/shareArticle in the below example)

Most visible case is LinkedIn but all social networks that have

```toml
[ananke.social.networks.particles]
...
params = "..."
```

in `config/_default/params.toml` are affected by this bug.
Copy link

netlify bot commented Oct 24, 2024

Deploy Preview for ananke-theme ready!

Name Link
🔨 Latest commit 78b6821
🔍 Latest deploy log https://app.netlify.com/sites/ananke-theme/deploys/671abe9deacc640008e307f7
😎 Deploy Preview https://deploy-preview-769--ananke-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@davidsneighbour davidsneighbour merged commit 58e742e into theNewDynamic:main Oct 25, 2024
4 checks passed
@ramiro ramiro deleted the fix-share-link-building-when-params-particle-is-present branch October 27, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Social network share link wrong for LinkedIn
2 participants