diff --git a/bot.php b/bot.php index a89e91d..7267b6f 100644 --- a/bot.php +++ b/bot.php @@ -8,7 +8,7 @@ $base_url = 'https://bluenoser.me'; // URL of your instance (Do not include '/' $visibility = 'public'; // "Direct" means sending welcome message as a private message. The four tiers of visibility for toots are Public , Unlisted, Private, and Direct (default) $language = 'en'; // en for English, zh for Chinese, etc. -$instance_user = '@jeffsblogbot'; +$instance_user = '@useryou are using'; // @user /* */ // Functions diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..5ca8dea --- /dev/null +++ b/readme.md @@ -0,0 +1,22 @@ +# Here is the Bot for your Mastodon Comments + +This bot is 100% for creating a post for commenting on an article on your blog. I built this specifically for my pelican SSG based site. + +To make work on your pelican site in the pelicanconf.py add + +``` +MASTODON_COMMENTS = True +``` + +Then you just need to add this to your theme: + +``` +{% if MASTODON_COMMENTS is sameas True %} +

Click Here to Comment on Mastodon.

+ + {% endif %} +``` + +I need to make it prettier, but this is looking good so far. + +If you use the photos plugin you can remove the image variable. \ No newline at end of file diff --git a/readme.rst b/readme.rst deleted file mode 100644 index 453a39b..0000000 --- a/readme.rst +++ /dev/null @@ -1,3 +0,0 @@ -Here is the Bot for your Mastodon Comments -========================================== -