From 10c4226fce85d935193c1e2464f76ef2a0a0062d Mon Sep 17 00:00:00 2001 From: Wen Junhua Date: Sat, 25 Nov 2023 13:14:47 +0800 Subject: [PATCH] feat: add sharing to line No changes to color is allowed based on their official website https://line.me/en/logo --- assets/icons/line.svg | 2 ++ data/sharing.json | 5 +++++ 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 + 6 files changed, 11 insertions(+) create mode 100644 assets/icons/line.svg diff --git a/assets/icons/line.svg b/assets/icons/line.svg new file mode 100644 index 00000000..65d089d1 --- /dev/null +++ b/assets/icons/line.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/data/sharing.json b/data/sharing.json index c33694d0..23283513 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -38,5 +38,10 @@ "icon": "telegram", "title": "sharing.telegram", "url": "https://telegram.me/share/url?text=%s&url=%s" + }, + "line": { + "icon": "line", + "title": "sharing.line", + "url": "https://line.me/R/share?text=%s%s" } } diff --git a/exampleSite/content/samples/icons/index.de.md b/exampleSite/content/samples/icons/index.de.md index 7f694a62..1f14ca14 100644 --- a/exampleSite/content/samples/icons/index.de.md +++ b/exampleSite/content/samples/icons/index.de.md @@ -46,6 +46,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin | kickstarter | {{< icon kickstarter >}} | | lastfm | {{< icon lastfm >}} | | lightbulb | {{< icon lightbulb >}} | +| line | {{< icon line >}} | | link | {{< icon link >}} | | linkedin | {{< icon linkedin >}} | | list | {{< icon list >}} | diff --git a/exampleSite/content/samples/icons/index.es.md b/exampleSite/content/samples/icons/index.es.md index 91cd4f06..c17926ac 100644 --- a/exampleSite/content/samples/icons/index.es.md +++ b/exampleSite/content/samples/icons/index.es.md @@ -46,6 +46,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued | kickstarter | {{< icon kickstarter >}} | | lastfm | {{< icon lastfm >}} | | lightbulb | {{< icon lightbulb >}} | +| line | {{< icon line >}} | | link | {{< icon link >}} | | linkedin | {{< icon linkedin >}} | | list | {{< icon list >}} | diff --git a/exampleSite/content/samples/icons/index.ja.md b/exampleSite/content/samples/icons/index.ja.md index 7ee8661d..be939f2b 100644 --- a/exampleSite/content/samples/icons/index.ja.md +++ b/exampleSite/content/samples/icons/index.ja.md @@ -46,6 +46,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ | kickstarter | {{< icon kickstarter >}} | | lastfm | {{< icon lastfm >}} | | lightbulb | {{< icon lightbulb >}} | +| line | {{< icon line >}} | | link | {{< icon link >}} | | linkedin | {{< icon linkedin >}} | | list | {{< icon list >}} | diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md index 80cc5190..95550b6d 100644 --- a/exampleSite/content/samples/icons/index.md +++ b/exampleSite/content/samples/icons/index.md @@ -46,6 +46,7 @@ The full list of built-in icons and their corresponding names can referenced bel | kickstarter | {{< icon kickstarter >}} | | lastfm | {{< icon lastfm >}} | | lightbulb | {{< icon lightbulb >}} | +| line | {{< icon line >}} | | link | {{< icon link >}} | | linkedin | {{< icon linkedin >}} | | list | {{< icon list >}} |