mirror of
https://github.com/pelican-plugins/share-post.git
synced 2025-10-15 17:08:54 +02:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
89d1f123e8
commit
38429bd52b
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ def create_link_diaspora(title, url, content):
|
||||||
def create_link_facebook(title, url, content):
|
def create_link_facebook(title, url, content):
|
||||||
return f"https://www.facebook.com/sharer/sharer.php?u={url}"
|
return f"https://www.facebook.com/sharer/sharer.php?u={url}"
|
||||||
|
|
||||||
|
|
||||||
@create_link
|
@create_link
|
||||||
def create_link_mastodon(title, url, content):
|
def create_link_mastodon(title, url, content):
|
||||||
tags = getattr(content, "tags", [])
|
tags = getattr(content, "tags", [])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue