diff --git a/assets/icons/weibo.svg b/assets/icons/weibo.svg new file mode 100644 index 00000000..aa295622 --- /dev/null +++ b/assets/icons/weibo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/config/_default/params.toml b/config/_default/params.toml index d1aeedca..fe0bc176 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -51,7 +51,7 @@ fingerprintAlgorithm = "sha256" showTaxonomies = false showWordCount = false showComments = false - # sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line"] + # sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line", "weibo"] [list] showBreadcrumbs = false diff --git a/data/sharing.json b/data/sharing.json index 23283513..c7695e87 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -43,5 +43,10 @@ "icon": "line", "title": "sharing.line", "url": "https://line.me/R/share?text=%s%s" + }, + "weibo": { + "icon": "weibo", + "title":"sharing.weibo", + "url": "https://service.weibo.com/share/share.php?url=%s&appkey=&title=%s&pic=&ralateUid=&lang" } } diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 3038930a..47975e74 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -52,7 +52,7 @@ fingerprintAlgorithm = "sha256" showTaxonomies = false showWordCount = false showComments = false - # sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line"] + sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line", "weibo"] [list] showBreadcrumbs = true diff --git a/i18n/bg.yaml b/i18n/bg.yaml index be1c6a49..cc7db846 100644 --- a/i18n/bg.yaml +++ b/i18n/bg.yaml @@ -52,7 +52,8 @@ sharing: reddit: "Публикуване в Reddit" twitter: "Туит в Twitter" telegram: "Споделете в Telegram" - line: Споделете в LINE"" + line: "Споделете в LINE" + weibo: "Споделете в Weibo" shortcode: recent_articles: "Последни" diff --git a/i18n/cs.yaml b/i18n/cs.yaml index f0628fc6..017e74a9 100644 --- a/i18n/cs.yaml +++ b/i18n/cs.yaml @@ -53,6 +53,7 @@ sharing: twitter: "Tweet na Twitter" telegram: "Sdílejte na Telegram" line: "Sdílejte na LINE" + line: "Sdílejte na Weibo" shortcode: recent_articles: "Nedávné" diff --git a/i18n/de.yaml b/i18n/de.yaml index 91c049e7..c76516ca 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -53,6 +53,7 @@ sharing: twitter: "Auf Twitter teilen" telegram: "Auf Telegram teilen" line: "Auf LINE teilen" + weibo: "Auf Weibo teilen" shortcode: recent_articles: "Neue Beiträge" diff --git a/i18n/en.yaml b/i18n/en.yaml index 76450077..2d87eb71 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -53,6 +53,7 @@ sharing: twitter: "Tweet on Twitter" telegram: "Share on Telegram" line: "Share on LINE" + weibo: "Share on Weibo" shortcode: recent_articles: "Recent" diff --git a/i18n/es.yaml b/i18n/es.yaml index 941f5860..0e078604 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -53,6 +53,7 @@ sharing: twitter: "Tuitear en Twitter" telegram: "Compartir en Telegram" line: "Compartir en LINE" + weibo: "Compartir en Weibo" shortcode: recent_articles: "Reciente" diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 1f7e0915..80471567 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -53,6 +53,7 @@ sharing: twitter: "Tweeter" telegram: "Partager sur Telegram" line: "Partager sur LINE" + weibo: "Partager sur Weibo" shortcode: recent_articles: "Articles récents" diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index 6f0f43ce..3f974207 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -52,6 +52,7 @@ sharing: twitter: "分享到 Twitter" telegram: "分享到 Telegram" line: "分享到 LINE" + weibo: "分享到 微博" shortcode: recent_articles: "最近的文章" diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml index f5ec9986..a60501b3 100644 --- a/i18n/zh-TW.yaml +++ b/i18n/zh-TW.yaml @@ -53,6 +53,7 @@ sharing: twitter: "推到 Twitter" telegram: "分享到 Telegram" line: "分享到 LINE" + weibo: "分享到 微博" shortcode: recent_articles: "最近的文章"