From f23714a280bfb4333b89a84a768779032aa495ee Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 5 Jul 2023 10:51:33 -0300 Subject: [PATCH] Updating tests for mastodon comments --- test/content/microblog/2022/20221031.rst | 7 +++++++ test/pelicanconf.py | 9 +++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/test/content/microblog/2022/20221031.rst b/test/content/microblog/2022/20221031.rst index 99f37a7..9ff795b 100644 --- a/test/content/microblog/2022/20221031.rst +++ b/test/content/microblog/2022/20221031.rst @@ -7,6 +7,13 @@ A big boat in the harbour :slug: big-boat-in-harbour :status: published :image: {photo}microblog/20221031-090318-865A7387.jpg +:mastodon_post_id: 110534394260702390 + + + +comments: + + id: 109774012599031406 .. image:: {photo}microblog/20221031-090318-865A7387.jpg :alt: A big in the Harbour diff --git a/test/pelicanconf.py b/test/pelicanconf.py index 22254f1..326cfe6 100644 --- a/test/pelicanconf.py +++ b/test/pelicanconf.py @@ -83,6 +83,7 @@ SOCIAL_LINKEDIN = 'jeffmackinnon' SOCIAL_FLICKR = 'jeffmackinnon' SOCIAL_MASTODON = 'https://bluenoser.me/@Jeff' MICROBLOG = 'microblog' +HIDE_MICROBLOG = False # Frontpage customization # @@ -105,10 +106,10 @@ FEDIRINGURL = '' # This is needed because the SITEURL includes the https:// an # Commenting # -MASTODON_COMMENTS = False -MASTODON_EMBED = '' # This is where you add the Mastodon Embed code, it needs a overhaul so I will link to the repo when I have time to play with it. -TWITTER_COMMENTS = True -# I'm using HashOver for comments, but there are a few different ones that you can use. +MASTODON_COMMENTS = True +MASTODON_HOST = 'bluenoser.me' +MASTODON_USER = 'jeff' + COMMENTS = False COMMENT_EMBED ='' # This is the emdbed code that you need for the comments.