diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/syndication/medium.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/syndication/medium.py b/app/syndication/medium.py index b7a1c6d..f3164ec 100644 --- a/app/syndication/medium.py +++ b/app/syndication/medium.py @@ -7,7 +7,7 @@ def post_to_medium(item): client = Client(application_id=settings.MEDIUM_CLIENT_ID, application_secret=settings.MEDIUM_CLIENT_SECRET) client.access_token = settings.MEDIUM_INT_TOKEN user = client.get_current_user() - head = '<p><i>This was originally posted <a href="%s" rel="canonical">on my own site</a>.</i></p>' % item.content_object.get_absolute_url() + head = '<p><i>This was originally posted <a href="https://luxagraf.net%s" rel="canonical">on my own site</a>.</i></p>' % item.content_object.get_absolute_url() body = "%s %s" % (head, item.content_object.body_html) # Create a post. post = client.create_post( |