diff --git a/README.md b/README.md index a1289af..8e26419 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ article.share_post = { "mastodon": "", "reddit": "", "twitter": "", + "bluesky": "", } ``` @@ -61,6 +62,8 @@ You can then access those variables in your template. For example: RedditTwitter + ❄ + Bluesky

{% endif %} diff --git a/pelican/plugins/share_post/share_post.py b/pelican/plugins/share_post/share_post.py index 2cbd815..6172904 100644 --- a/pelican/plugins/share_post/share_post.py +++ b/pelican/plugins/share_post/share_post.py @@ -13,9 +13,9 @@ This plugin adds social share URLs to each article. from urllib.parse import quote from bs4 import BeautifulSoup -from pelican.generators import ArticlesGenerator, PagesGenerator from pelican import contents, signals +from pelican.generators import ArticlesGenerator, PagesGenerator _create_link_functions = []