diff --git a/config/_default/params.toml b/config/_default/params.toml index 5902ead..6bf81af 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -58,7 +58,7 @@ rssFullContent = false showWordCount = true showComments = false # sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"] - sharingLinks = ["email", "reddit", "twitter", "facebook", "pinterest"] + sharingLinks = ["email", "mastodon", "reddit", "twitter", "facebook", "pinterest"] [list] showBreadcrumbs = false diff --git a/data/sharing.json b/data/sharing.json index 5d1e663..2fafed5 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -4,6 +4,11 @@ "title": "sharing.email", "url": "mailto:?body=%s&subject=Look+at+this:+%s" }, + "mastodon": { + "icon": "mastodon", + "title": "sharing.mastodon", + "url": "/tootpick.html#text=%s -- %s" + }, "facebook": { "icon": "facebook", "title": "sharing.facebook", diff --git a/static/tootpick.html b/static/tootpick.html new file mode 100644 index 0000000..03b1810 --- /dev/null +++ b/static/tootpick.html @@ -0,0 +1,521 @@ + + +Tootpick + + + + + + + + + + + +
+ +
+ Pick your Mastodon server to toot this message: +
+
+
+
+ + + +
+ +
+
+
+ +