Skip to content

Commit 770d8b9

Browse files
committed
fix(social): use shareArticle endpoint for LinkedIn share
The share-offsite endpoint opens blank modals. Using shareArticle with mini=true pre-populates the URL in the compose field.
1 parent 64f4cf4 commit 770d8b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/_includes/templates/post-share.vto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a
1515
class="group -m-1 p-1"
1616
aria-label="{{ i18n.social.linkedin_share }}"
17-
href="https://www.linkedin.com/sharing/share-offsite/?url={{ url }}"
17+
href="https://www.linkedin.com/shareArticle?mini=true&url={{ url }}"
1818
target="_blank"
1919
rel="noopener"
2020
><img

0 commit comments

Comments
 (0)