feat: add sharing to telegram

pull/719/head
Wen Junhua 2023-11-25 13:14:06 +08:00
parent e615de3755
commit dc1ea3dfaa
2 changed files with 6 additions and 1 deletions

View File

@ -33,5 +33,10 @@
"icon": "twitter", "icon": "twitter",
"title": "sharing.twitter", "title": "sharing.twitter",
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s" "url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
},
"telegram": {
"icon": "telegram",
"title": "sharing.telegram",
"url": "https://telegram.me/share/url?text=%s&url=%s"
} }
} }

View File

@ -50,7 +50,7 @@ fingerprintAlgorithm = "sha256"
showTaxonomies = false showTaxonomies = false
showWordCount = false showWordCount = false
showComments = false showComments = false
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email"] # sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line"]
[list] [list]
showBreadcrumbs = true showBreadcrumbs = true