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

Ramiro Morales
26.05.2024 58e742ef62f789842e1616328e60127da632de8a
refs
author Ramiro Morales <ramiro@users.noreply.github.com>
Saturday, October 26, 2024 01:05 +0200
committer GitHub <noreply@github.com>
Saturday, October 26, 2024 01:05 +0200
commit58e742ef62f789842e1616328e60127da632de8a
tree ed31aba4b042fa017fdfe080b5dd464b08021f91 tree | zip | gz
parent 7545ee049f1490a33bff39d5838779581c88ab73 view | diff
theme(fix): share link building when `params` particle is present (#769)

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.

Closes #768.
1 files modified
2 ■■■ changed files
layouts/partials/func/social/getShareLink.html 2 ●●● diff | view | raw | blame | history