From a3a0232bbbc0e529e306cddc00ebffd5d34f0ed5 Mon Sep 17 00:00:00 2001 From: Sean Patrick Hagen Date: Mon, 5 Dec 2022 12:10:46 -0800 Subject: [PATCH 1/3] Add Mastodon sharing link Via tootpick.org --- data/sharing.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/sharing.json b/data/sharing.json index 34e60899..63c450e8 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -28,5 +28,10 @@ "icon": "twitter", "title": "sharing.twitter", "url": "https://twitter.com/intent/tweet/?url=%s&text=%s" + }, + "mastodon": { + "icon": "mastodon", + "title": "sharing.mastodon", + "url": "https://tootpick.org/#text=%s %s" } } From 600c0d3908d17eb194ed45dfe47b3eee9e0d2b9b Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:37:39 +1100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=8C=90=20Add=20new=20`sharing.mastodo?= =?UTF-8?q?n`=20i18n=20string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/bn.yaml | 1 + i18n/de.yaml | 15 ++++++++------- i18n/en.yaml | 1 + i18n/es.yaml | 1 + i18n/fi.yaml | 1 + i18n/fr.yaml | 1 + i18n/he.yaml | 1 + i18n/hu.yaml | 1 + i18n/it.yaml | 1 + i18n/ja.yaml | 3 ++- i18n/nl.yaml | 3 ++- i18n/pt-BR.yaml | 1 + i18n/pt-PT.yaml | 1 + i18n/ro.yaml | 1 + i18n/tr.yaml | 1 + i18n/zh-CN.yaml | 1 + i18n/zh-TW.yaml | 3 ++- 17 files changed, 27 insertions(+), 10 deletions(-) diff --git a/i18n/bn.yaml b/i18n/bn.yaml index 380c21c7..847395a0 100644 --- a/i18n/bn.yaml +++ b/i18n/bn.yaml @@ -47,6 +47,7 @@ sharing: email: "ইমেল করুন" facebook: "ফেসবুকে শেয়ার করুন" linkedin: "লিংকডইনে শেয়ার করুন" + # mastodon: "Toot on Mastodon" pinterest: "পিন্টারেস্টে পিন করুন" reddit: "রেড্ডিটে জমা দিন" twitter: "ট্যুইট করুন" diff --git a/i18n/de.yaml b/i18n/de.yaml index 3136b93b..e989e024 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -10,8 +10,8 @@ article: reading_time_title: "Lesezeit" table_of_contents: "Inhaltsverzeichnis" word_count: - one: "{{ .Count }} Wort" - other: "{{ .Count }} Wörter" + one: "{{ .Count }} Wort" + other: "{{ .Count }} Wörter" author: byline_title: "Autor" @@ -35,18 +35,19 @@ list: no_articles: "Es gibt hier noch keine Beiträge." nav: - scroll_to_top_title: "Zum Anfang scrollen" - skip_to_main: "Zum Hauptinhalt springen" + scroll_to_top_title: "Zum Anfang scrollen" + skip_to_main: "Zum Hauptinhalt springen" search: - open_button_title: "Suche (/)" - close_button_title: "Schließen (Esc)" - input_placeholder: "Suchen" + open_button_title: "Suche (/)" + close_button_title: "Schließen (Esc)" + input_placeholder: "Suchen" sharing: email: "Per E-Mail teilen" facebook: "Auf Facebook teilen" linkedin: "Auf LinkedIn teilen" + # mastodon: "Toot on Mastodon" pinterest: "Auf Pinterest pinnen" reddit: "An Reddit senden" twitter: "Auf Twitter teilen" diff --git a/i18n/en.yaml b/i18n/en.yaml index a2ec67a1..6eca1e8b 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -47,6 +47,7 @@ sharing: email: "Send via email" facebook: "Share on Facebook" linkedin: "Share on LinkedIn" + mastodon: "Toot on Mastodon" pinterest: "Pin on Pinterest" reddit: "Submit to Reddit" twitter: "Tweet on Twitter" diff --git a/i18n/es.yaml b/i18n/es.yaml index 0e821b9d..1c8819d2 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -47,6 +47,7 @@ sharing: email: "Enviar vía email" facebook: "Compartir en Facebook" linkedin: "Compartir en LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "Pinear en Pinterest" reddit: "Publicar en Reddit" twitter: "Tuitear en Twitter" diff --git a/i18n/fi.yaml b/i18n/fi.yaml index ac95bd7c..94dc8331 100644 --- a/i18n/fi.yaml +++ b/i18n/fi.yaml @@ -47,6 +47,7 @@ sharing: email: "Lähetä sähköpostilla" facebook: "Jaa Facebookissa" linkedin: "Jaa LinkedInissä" + # mastodon: "Toot on Mastodon" pinterest: "Kiinnitä Pinterestiin" reddit: "Lähetä Reddittiin" twitter: "Twiittaa Twitterissä" diff --git a/i18n/fr.yaml b/i18n/fr.yaml index ca93d03f..7e446f8e 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -47,6 +47,7 @@ sharing: email: "Envoyer par email" facebook: "Poster sur Facebook" linkedin: "Poster sur LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "Poster sur Pinterest" reddit: "Poster sur Reddit" twitter: "Tweeter" diff --git a/i18n/he.yaml b/i18n/he.yaml index 444084d2..d795d2f2 100644 --- a/i18n/he.yaml +++ b/i18n/he.yaml @@ -47,6 +47,7 @@ sharing: email: "שליחת אימייל" facebook: "שיתוף בפייסבוק" linkedin: "שיתוף בלינקדאין" + # mastodon: "Toot on Mastodon" pinterest: "שיתוף בפינטרסט" reddit: "שליחה לרדיט" twitter: "ציוץ בטוויטר" diff --git a/i18n/hu.yaml b/i18n/hu.yaml index 333e6e9e..bb3dedd7 100644 --- a/i18n/hu.yaml +++ b/i18n/hu.yaml @@ -47,6 +47,7 @@ sharing: email: "Küldés emailben" facebook: "Megosztás a Facebookon" linkedin: "Megosztás a LinkedInen" + # mastodon: "Toot on Mastodon" pinterest: "Megosztás a Pinteresten" reddit: "Megosztás a Redditen" twitter: "Megosztás a Twitteren" diff --git a/i18n/it.yaml b/i18n/it.yaml index ec1190a7..48b5b542 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -47,6 +47,7 @@ sharing: email: "Invia tramite email" facebook: "Condividi su Facebook" linkedin: "Condividi su LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "Pinna su Pinterest" reddit: "Invia a Reddit" twitter: "Tweetta su Twitter" diff --git a/i18n/ja.yaml b/i18n/ja.yaml index 84c8deee..8c0a14e7 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -12,7 +12,7 @@ article: word_count: one: "{{ .Count }} 文字" other: "{{ .Count }} 文字" - + author: byline_title: "著者" @@ -47,6 +47,7 @@ sharing: email: " Eメールを送る" facebook: "Facebookでシェアする" linkedin: "LinkedInでシェアする" + # mastodon: "Toot on Mastodon" pinterest: "Pinterestでピンする" reddit: "Redditに投稿する" twitter: "Twitterに投稿する" diff --git a/i18n/nl.yaml b/i18n/nl.yaml index d73695b7..c12ceb73 100644 --- a/i18n/nl.yaml +++ b/i18n/nl.yaml @@ -47,9 +47,10 @@ sharing: email: "Verstuur via email" facebook: "Deel op Facebook" linkedin: "Deel op LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "Pin op Pinterest" reddit: "Verzend naar Reddit" twitter: "Tweet op Twitter" shortcode: - recent_articles: "Recent" \ No newline at end of file + recent_articles: "Recent" diff --git a/i18n/pt-BR.yaml b/i18n/pt-BR.yaml index f9cc48b4..c9e14cdb 100644 --- a/i18n/pt-BR.yaml +++ b/i18n/pt-BR.yaml @@ -47,6 +47,7 @@ sharing: email: "Enviar por email" facebook: "Compartilhar pelo Facebook" linkedin: "Compartilhar pelo LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "Pin no Pinterest" reddit: "Postar no Reddit" twitter: "Tweet no Twitter" diff --git a/i18n/pt-PT.yaml b/i18n/pt-PT.yaml index e326f96a..a7fe70fc 100644 --- a/i18n/pt-PT.yaml +++ b/i18n/pt-PT.yaml @@ -47,6 +47,7 @@ sharing: email: "Partilhar por email" facebook: "Partilhar pelo Facebook" linkedin: "Partilhar pelo LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "Partilhar no Pinterest" reddit: "Partilhar no Reddit" twitter: "Partilhar no Twitter" diff --git a/i18n/ro.yaml b/i18n/ro.yaml index d9c49d11..29d709e6 100644 --- a/i18n/ro.yaml +++ b/i18n/ro.yaml @@ -47,6 +47,7 @@ sharing: email: "Trimite pe email" facebook: "Postează pe Facebook" linkedin: "Postează LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "Pune pe Pinterest" reddit: "Postează pe Reddit" twitter: "Scrie pe Twitter" diff --git a/i18n/tr.yaml b/i18n/tr.yaml index 7361c640..f8948759 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -46,6 +46,7 @@ sharing: email: "Email ile gönder" facebook: "Facebook'ta paylaş" linkedin: "LinkedIn'te paylaş" + # mastodon: "Toot on Mastodon" pinterest: "Pinterest'te pinle" reddit: "Reddit'te gönder" twitter: "Twitter'da Tweetle" diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index f72e3690..f52a614e 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -46,6 +46,7 @@ sharing: email: "通过电子邮件发送" facebook: "分享到 Facebook" linkedin: "分享到 LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "钉到 Pinterest" reddit: "提交到 Reddit" twitter: "分享到 Twitter" diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml index ef136505..d021dfcc 100644 --- a/i18n/zh-TW.yaml +++ b/i18n/zh-TW.yaml @@ -46,9 +46,10 @@ sharing: email: "以電子郵件發送" facebook: "分享到 Facebook" linkedin: "分享到 LinkedIn" + # mastodon: "Toot on Mastodon" pinterest: "釘到 Pinterest" reddit: "發送到 Reddit" twitter: "推到 Twitter" shortcode: - recent_articles: "最近的文章" \ No newline at end of file + recent_articles: "最近的文章" From 07af879a40552f05e9c5b96d7c44d49a96bcb6a8 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:39:36 +1100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=A7=20Update=20config=20file=20pla?= =?UTF-8?q?ceholders?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/_default/params.toml | 2 +- exampleSite/config/_default/params.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 654127eb..ff2eaea5 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -47,7 +47,7 @@ enableCodeCopy = false showTaxonomies = false showWordCount = false showComments = false - # sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"] + # sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email"] [list] showBreadcrumbs = false diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index c894ee3a..f0618869 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -47,7 +47,7 @@ mainSections = ["samples"] showTaxonomies = false showWordCount = false showComments = false - # sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"] + # sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email"] [list] showBreadcrumbs = true