forked from github/share-post
Compare commits
No commits in common. "feature/bluesky_support" and "main" have entirely different histories.
feature/bl
...
main
2 changed files with 0 additions and 9 deletions
|
|
@ -36,7 +36,6 @@ article.share_post = {
|
|||
"mastodon": "<URL>",
|
||||
"reddit": "<URL>",
|
||||
"twitter": "<URL>",
|
||||
"bluesky": "<URL>",
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -62,8 +61,6 @@ You can then access those variables in your template. For example:
|
|||
<a href="{{article.share_post['reddit']}}" title="Share via Reddit">Reddit</a>
|
||||
❄
|
||||
<a href="{{article.share_post['twitter']}}" title="Share on Twitter">Twitter</a>
|
||||
❄
|
||||
<a href="{{article.share_post['bluesky']}}" title="Share on Bluesky">Bluesky</a>
|
||||
</p>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -96,12 +96,6 @@ def create_link_linkedin(title, url, content):
|
|||
)
|
||||
|
||||
|
||||
@create_link
|
||||
def create_link_bluesky(title, url, content):
|
||||
# https://docs.bsky.app/docs/advanced-guides/intent-links
|
||||
return f"https://bsky.app/intent/compose?text={url}"
|
||||
|
||||
|
||||
def create_share_links(content):
|
||||
if isinstance(content, contents.Static):
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue