From 403be2872f34326221d64f0afc21259509060291 Mon Sep 17 00:00:00 2001 From: Philip Wille Date: Sat, 7 Sep 2024 16:41:34 +0200 Subject: [PATCH] Adds sharing link and icons for XING --- assets/icons/xing.svg | 1 + data/sharing.json | 5 +++++ exampleSite/config/_default/params.toml | 2 +- exampleSite/content/samples/icons/index.de.md | 1 + exampleSite/content/samples/icons/index.es.md | 1 + exampleSite/content/samples/icons/index.ja.md | 1 + exampleSite/content/samples/icons/index.md | 1 + exampleSite/content/samples/icons/index.zh-Hans.md | 1 + i18n/ar.yaml | 1 + i18n/bg.yaml | 1 + i18n/bn.yaml | 1 + i18n/cs.yaml | 1 + i18n/de.yaml | 1 + 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/id.yaml | 1 + i18n/it.yaml | 1 + i18n/ja.yaml | 1 + i18n/ko.yaml | 1 + i18n/nb.yaml | 1 + i18n/nl.yaml | 1 + i18n/pl.yaml | 1 + i18n/pt-BR.yaml | 1 + i18n/pt-PT.yaml | 1 + i18n/ro.yaml | 1 + i18n/ru.yaml | 1 + i18n/sk.yaml | 1 + i18n/sv.yaml | 1 + i18n/ta.yaml | 1 + i18n/tr.yaml | 1 + i18n/uk.yaml | 1 + i18n/vi.yaml | 1 + i18n/zh-Hans.yaml | 1 + i18n/zh-Hant.yaml | 1 + 38 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 assets/icons/xing.svg diff --git a/assets/icons/xing.svg b/assets/icons/xing.svg new file mode 100644 index 0000000..ca2bc46 --- /dev/null +++ b/assets/icons/xing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/data/sharing.json b/data/sharing.json index f3cb1d2..c8c867f 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -58,5 +58,10 @@ "icon": "weibo", "title": "sharing.weibo", "url": "https://service.weibo.com/share/share.php?url=%s&appkey=&title=%s&pic=&ralateUid=&lang" + }, + "xing": { + "icon": "xing", + "title": "sharing.xing", + "url": "https://www.xing.com/spi/shares/new?url=%s&follow_url=https://www.xing.com/profile/Philip_Wille" } } diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index f13da48..0fad964 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", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo"] + # sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo", "xing"] [list] showBreadcrumbs = true diff --git a/exampleSite/content/samples/icons/index.de.md b/exampleSite/content/samples/icons/index.de.md index 3242d7d..172ab51 100644 --- a/exampleSite/content/samples/icons/index.de.md +++ b/exampleSite/content/samples/icons/index.de.md @@ -86,4 +86,5 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin | whatsapp | {{< icon whatsapp >}} | | x-twitter | {{< icon x-twitter >}} | | xmark | {{< icon xmark >}} | +| xing | {{< icon xing >}} | | youtube | {{< icon youtube >}} | diff --git a/exampleSite/content/samples/icons/index.es.md b/exampleSite/content/samples/icons/index.es.md index f4091f9..e50a6b2 100644 --- a/exampleSite/content/samples/icons/index.es.md +++ b/exampleSite/content/samples/icons/index.es.md @@ -86,4 +86,5 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued | whatsapp | {{< icon whatsapp >}} | | x-twitter | {{< icon x-twitter >}} | | xmark | {{< icon xmark >}} | +| xing | {{< icon xing >}} | | youtube | {{< icon youtube >}} | diff --git a/exampleSite/content/samples/icons/index.ja.md b/exampleSite/content/samples/icons/index.ja.md index c986e32..e2f7413 100644 --- a/exampleSite/content/samples/icons/index.ja.md +++ b/exampleSite/content/samples/icons/index.ja.md @@ -86,4 +86,5 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ | whatsapp | {{< icon whatsapp >}} | | x-twitter | {{< icon x-twitter >}} | | xmark | {{< icon xmark >}} | +| xing | {{< icon xing >}} | | youtube | {{< icon youtube >}} | diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md index 3aa319b..4e16c59 100644 --- a/exampleSite/content/samples/icons/index.md +++ b/exampleSite/content/samples/icons/index.md @@ -86,4 +86,5 @@ The full list of built-in icons and their corresponding names can referenced bel | whatsapp | {{< icon whatsapp >}} | | x-twitter | {{< icon x-twitter >}} | | xmark | {{< icon xmark >}} | +| xing | {{< icon xing >}} | | youtube | {{< icon youtube >}} | diff --git a/exampleSite/content/samples/icons/index.zh-Hans.md b/exampleSite/content/samples/icons/index.zh-Hans.md index fe10190..d68d5ee 100644 --- a/exampleSite/content/samples/icons/index.zh-Hans.md +++ b/exampleSite/content/samples/icons/index.zh-Hans.md @@ -82,4 +82,5 @@ Congo内置了对多个[FontAwesome 6](https://fontawesome.com/icons)图标的 | whatsapp | {{< icon whatsapp >}} | | x-twitter | {{< icon x-twitter >}} | | xmark | {{< icon xmark >}} | +| xing | {{< icon xing >}} | | youtube | {{< icon youtube >}} | diff --git a/i18n/ar.yaml b/i18n/ar.yaml index 9ca9f24..0fe6b20 100644 --- a/i18n/ar.yaml +++ b/i18n/ar.yaml @@ -56,6 +56,7 @@ sharing: line: "شارك على لاين" # weibo: "Share on Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "حديثًا" diff --git a/i18n/bg.yaml b/i18n/bg.yaml index e812c38..5d23405 100644 --- a/i18n/bg.yaml +++ b/i18n/bg.yaml @@ -56,6 +56,7 @@ sharing: line: "Споделете в LINE" weibo: "Споделете в Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Последни" diff --git a/i18n/bn.yaml b/i18n/bn.yaml index 7ddf63f..a0a6ae5 100644 --- a/i18n/bn.yaml +++ b/i18n/bn.yaml @@ -56,6 +56,7 @@ sharing: line: "লাইনে শেয়ার করুন" # weibo: "Share on Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "সাম্প্রতিক" diff --git a/i18n/cs.yaml b/i18n/cs.yaml index ce7ec73..57b523d 100644 --- a/i18n/cs.yaml +++ b/i18n/cs.yaml @@ -56,6 +56,7 @@ sharing: line: "Sdílejte na LINE" weibo: "Sdílejte na Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Nedávné" diff --git a/i18n/de.yaml b/i18n/de.yaml index d2a0066..4b33eaf 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -56,6 +56,7 @@ sharing: line: "Auf LINE teilen" weibo: "Auf Weibo teilen" # x-twitter: "Post on X" + xing: "Auf XING teilen" shortcode: recent_articles: "Neue Beiträge" diff --git a/i18n/en.yaml b/i18n/en.yaml index 428377c..3019d7b 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -56,6 +56,7 @@ sharing: line: "Share on LINE" weibo: "Share on Weibo" x-twitter: "Post on X" + xing: "Share on XING" shortcode: recent_articles: "Recent" diff --git a/i18n/es.yaml b/i18n/es.yaml index ce0bc16..50506c4 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -56,6 +56,7 @@ sharing: line: "Compartir en LINE" weibo: "Compartir en Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Reciente" diff --git a/i18n/fi.yaml b/i18n/fi.yaml index 64b7251..416aa72 100644 --- a/i18n/fi.yaml +++ b/i18n/fi.yaml @@ -56,6 +56,7 @@ sharing: line: "Jaa LINEssä" weibo: "Jaa Weibossä" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Viimeaikaiset" diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 22f4ea0..b64bedd 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -56,6 +56,7 @@ sharing: line: "Partager sur LINE" weibo: "Partager sur Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Articles récents" diff --git a/i18n/he.yaml b/i18n/he.yaml index 453d3f1..7e80534 100644 --- a/i18n/he.yaml +++ b/i18n/he.yaml @@ -56,6 +56,7 @@ sharing: line: "שיתוף בליין" # weibo: "Share on Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "חדשים" diff --git a/i18n/hu.yaml b/i18n/hu.yaml index 2f1a40e..33775ed 100644 --- a/i18n/hu.yaml +++ b/i18n/hu.yaml @@ -56,6 +56,7 @@ sharing: line: "Megosztás a LINE-on" weibo: "Megosztás a Weibo-on" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Friss" diff --git a/i18n/id.yaml b/i18n/id.yaml index 07b21f5..6b7eca4 100644 --- a/i18n/id.yaml +++ b/i18n/id.yaml @@ -56,6 +56,7 @@ sharing: line: "Bagikan ke LINE" weibo: "Bagikan ke Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Terbaru" diff --git a/i18n/it.yaml b/i18n/it.yaml index ed8a9f1..cdd3589 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -56,6 +56,7 @@ sharing: line: "Condividi su LINE" weibo: "Condividi su Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Recenti" diff --git a/i18n/ja.yaml b/i18n/ja.yaml index 836cfba..6c4adac 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -56,6 +56,7 @@ sharing: line: "LINEでシェアする" weibo: "Weiboでシェアする" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "最近の記事" diff --git a/i18n/ko.yaml b/i18n/ko.yaml index a14dc4e..71b77bb 100644 --- a/i18n/ko.yaml +++ b/i18n/ko.yaml @@ -56,6 +56,7 @@ sharing: line: "LINE에 공유하기" weibo: "Weibo에 공유하기" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "최신 글" diff --git a/i18n/nb.yaml b/i18n/nb.yaml index 27f1f62..7d81f17 100644 --- a/i18n/nb.yaml +++ b/i18n/nb.yaml @@ -56,6 +56,7 @@ sharing: line: "Del på LINE" weibo: "Del på Weibo" x-twitter: "Post på X" + # xing: "Share on XING" shortcode: recent_articles: "Nylig publisert" diff --git a/i18n/nl.yaml b/i18n/nl.yaml index 0a40e92..272a51a 100644 --- a/i18n/nl.yaml +++ b/i18n/nl.yaml @@ -56,6 +56,7 @@ sharing: line: "Deel op LINE" weibo: "Deel op Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Recent" diff --git a/i18n/pl.yaml b/i18n/pl.yaml index d1e8bcb..92eceb2 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -56,6 +56,7 @@ sharing: line: "Udostępnij na LINE" weibo: "Udostępnij na Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Ostatnie" diff --git a/i18n/pt-BR.yaml b/i18n/pt-BR.yaml index ea30415..ff95a19 100644 --- a/i18n/pt-BR.yaml +++ b/i18n/pt-BR.yaml @@ -56,6 +56,7 @@ sharing: line: "Compartilhar pelo LINE" weibo: "Compartilhar pelo weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Recente" diff --git a/i18n/pt-PT.yaml b/i18n/pt-PT.yaml index c63a251..d7c7b3d 100644 --- a/i18n/pt-PT.yaml +++ b/i18n/pt-PT.yaml @@ -56,6 +56,7 @@ sharing: line: "Partilhar pelo LINE" weibo: "Partilhar pelo Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Recente" diff --git a/i18n/ro.yaml b/i18n/ro.yaml index d1bc12d..26f2455 100644 --- a/i18n/ro.yaml +++ b/i18n/ro.yaml @@ -56,6 +56,7 @@ sharing: line: "Trimite pe LINE" weibo: "Trimite pe Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Cele mai noi" diff --git a/i18n/ru.yaml b/i18n/ru.yaml index b40527a..28da4c4 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -60,6 +60,7 @@ sharing: line: "Поделиться на LINE" weibo: "Поделиться на Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Последние" diff --git a/i18n/sk.yaml b/i18n/sk.yaml index fc5a810..4f51a4b 100644 --- a/i18n/sk.yaml +++ b/i18n/sk.yaml @@ -56,6 +56,7 @@ sharing: line: "Zdieľaj na LINE" weibo: "Zdieľaj na Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Nedávne" diff --git a/i18n/sv.yaml b/i18n/sv.yaml index 692c8f3..d327ba4 100644 --- a/i18n/sv.yaml +++ b/i18n/sv.yaml @@ -56,6 +56,7 @@ sharing: line: "Dela på LINE" weibo: "Dela på Weibo" x-twitter: "Publicera på X" + # xing: "Share on XING" shortcode: recent_articles: "Senaste" diff --git a/i18n/ta.yaml b/i18n/ta.yaml index 3f4c248..bcdbd28 100644 --- a/i18n/ta.yaml +++ b/i18n/ta.yaml @@ -56,6 +56,7 @@ sharing: line: "LINE இல் பகிரவும்" weibo: "Weibo இல் பகிரவும்" x-twitter: "X இல் இடுகையிடவும்" + # xing: "Share on XING" shortcode: recent_articles: "சமீபத்திய கட்டுரைகள்" diff --git a/i18n/tr.yaml b/i18n/tr.yaml index a974333..707bbd6 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -55,6 +55,7 @@ sharing: line: "LINE'da paylaş" weibo: "Weibo'da paylaş" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Güncel" diff --git a/i18n/uk.yaml b/i18n/uk.yaml index e1ec2e5..956555e 100644 --- a/i18n/uk.yaml +++ b/i18n/uk.yaml @@ -60,6 +60,7 @@ sharing: line: "Поширити на LINE" weibo: "Поширити на Weibo" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "Недавні дописи" diff --git a/i18n/vi.yaml b/i18n/vi.yaml index 5b6376e..ad4e66b 100644 --- a/i18n/vi.yaml +++ b/i18n/vi.yaml @@ -56,6 +56,7 @@ sharing: line: "Chia sẻ lên LINE" weibo: "Chia sẻ lên Weibo" x-twitter: "Đăng lên X" + # xing: "Share on XING" shortcode: recent_articles: "Gần đây" diff --git a/i18n/zh-Hans.yaml b/i18n/zh-Hans.yaml index 79a1749..c72b874 100644 --- a/i18n/zh-Hans.yaml +++ b/i18n/zh-Hans.yaml @@ -55,6 +55,7 @@ sharing: line: "分享到 LINE" weibo: "分享到 微博" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "最近的文章" diff --git a/i18n/zh-Hant.yaml b/i18n/zh-Hant.yaml index b5e95ac..ab0f66f 100644 --- a/i18n/zh-Hant.yaml +++ b/i18n/zh-Hant.yaml @@ -56,6 +56,7 @@ sharing: line: "分享到 LINE" weibo: "分享到 微博" # x-twitter: "Post on X" + # xing: "Share on XING" shortcode: recent_articles: "最近的文章"