Try a simple share -> mastodon via proxy (#18715)
This commit is contained in:
parent
09e327b7c2
commit
5dd33c1fe6
3 changed files with 11 additions and 0 deletions
|
|
@ -103,6 +103,13 @@
|
|||
href="https://www.facebook.com/sharer.php?u=<%= u article_url(@article) %>">
|
||||
<%= t("views.actions.share.facebook.text") %>
|
||||
</a>
|
||||
<a
|
||||
target="_blank"
|
||||
class="crayons-link crayons-link--block"
|
||||
rel="noopener"
|
||||
href="https://toot.kytta.dev/?text=<%= u article_url(@article) %>">
|
||||
<%= t("views.actions.share.mastodon.text") %>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<web-share-wrapper shareurl="<%= article_url(@article) %>" sharetitle="<%= @article.title %>" sharetext="<%= @article.description %>" template="web-share-button">
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ en:
|
|||
text: Share to Hacker News
|
||||
linkedin:
|
||||
text: Share to LinkedIn
|
||||
mastodon:
|
||||
text: Share to Mastodon
|
||||
reddit:
|
||||
text: Share to Reddit
|
||||
twitter:
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ fr:
|
|||
text: Partager sur Hacker News
|
||||
linkedin:
|
||||
text: Partager sur LinkedIn
|
||||
mastodon:
|
||||
text: Partager sur Mastodon
|
||||
reddit:
|
||||
text: Partager sur Reddit
|
||||
twitter:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue