mirror of
https://github.com/pelican-plugins/share-post.git
synced 2025-10-15 17:08:54 +02:00
feat: Bluesky support (#32)
Some checks failed
build / Test - Python 3.10 (push) Has been cancelled
build / Test - Python 3.11 (push) Has been cancelled
build / Test - Python 3.12 (push) Has been cancelled
build / Test - Python 3.8 (push) Has been cancelled
build / Test - Python 3.9 (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Deploy (push) Has been cancelled
Some checks failed
build / Test - Python 3.10 (push) Has been cancelled
build / Test - Python 3.11 (push) Has been cancelled
build / Test - Python 3.12 (push) Has been cancelled
build / Test - Python 3.8 (push) Has been cancelled
build / Test - Python 3.9 (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Deploy (push) Has been cancelled
* feat: Bluesky support * docs: add Bluesky * style: move import to original location
This commit is contained in:
parent
46ff6e0722
commit
491663a71c
2 changed files with 9 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ article.share_post = {
|
|||
"mastodon": "<URL>",
|
||||
"reddit": "<URL>",
|
||||
"twitter": "<URL>",
|
||||
"bluesky": "<URL>",
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -61,6 +62,8 @@ 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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue